[views] kill deprecation warnings
authorDavid Douard <david.douard@logilab.fr>
Mon, 05 Aug 2013 11:00:58 +0200
changeset 311 5e77cefb98df
parent 310 7629dfa69b76
child 314 268148de1a95
[views] kill deprecation warnings
views/blog.py
views/entry.py
--- a/views/blog.py	Mon Aug 05 11:43:56 2013 +0200
+++ b/views/blog.py	Mon Aug 05 11:00:58 2013 +0200
@@ -10,8 +10,8 @@
 
 from cubicweb.utils import UStringIO
 from cubicweb.predicates import is_instance
-from cubicweb.web import uicfg, component
-from cubicweb.web.views import primary
+from cubicweb.web import component
+from cubicweb.web.views import uicfg, primary
 
 _pvs = uicfg.primaryview_section
 _pvdc = uicfg.primaryview_display_ctrl
--- a/views/entry.py	Mon Aug 05 11:43:56 2013 +0200
+++ b/views/entry.py	Mon Aug 05 11:00:58 2013 +0200
@@ -16,7 +16,7 @@
 from cubicweb.schema import display_name
 from cubicweb.view import EntityView
 from cubicweb.predicates import paginated_rset, sorted_rset, is_instance
-from cubicweb.web import uicfg
+from cubicweb.web.views import uicfg
 from cubicweb.web.views import primary, baseviews, calendar, navigation, workflow
 from cubicweb.web.views.xmlrss import RSSItemView