web/views/cwproperties.py
branchtls-sprint
changeset 1658 3f3672f76399
parent 1641 2c80b09d8d86
child 1659 838eaecaa458
--- a/web/views/cwproperties.py	Mon May 04 16:03:52 2009 +0200
+++ b/web/views/cwproperties.py	Mon May 04 16:04:02 2009 +0200
@@ -15,12 +15,11 @@
 from cubicweb.selectors import (one_line_rset, none_rset, implements,
                                 match_user_groups)
 from cubicweb.view import StartupView
-from cubicweb.web import uicfg
-from cubicweb.web.views import baseviews
-from cubicweb.web import stdmsgs
+from cubicweb.web import uicfg, stdmsgs
 from cubicweb.web.form import CompositeForm, EntityFieldsForm, FormViewMixIn
 from cubicweb.web.formfields import FIELDS, StringField
 from cubicweb.web.formwidgets import Select, Button, SubmitButton
+from cubicweb.web.views import primaryviews
 
 
 # some string we want to be internationalizable for nicer display of eproperty
@@ -59,7 +58,7 @@
     return someclass and 'class="%s"' % someclass or ''
 
 
-class CWPropertyPrimaryView(baseviews.PrimaryView):
+class CWPropertyPrimaryView(primary.PrimaryView):
     __select__ = implements('CWProperty')
     skip_none = False