add import to remove deprecation warning stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 06 Jul 2009 09:33:09 +0200
branchstable
changeset 2265 4c028cb136a4
parent 2264 17b8a6ad58fc
child 2266 efc6de279644
add import to remove deprecation warning
web/views/boxes.py
web/views/startup.py
--- a/web/views/boxes.py	Fri Jul 03 18:37:26 2009 +0200
+++ b/web/views/boxes.py	Mon Jul 06 09:33:09 2009 +0200
@@ -18,10 +18,10 @@
 
 from logilab.mtconverter import html_escape
 
-from cubicweb.rtags import RelationTags
 from cubicweb.selectors import match_user_groups, non_final_entity
+from cubicweb.view import EntityView
+from cubicweb.schema import display_name
 from cubicweb.web.htmlwidgets import BoxWidget, BoxMenu, BoxHtml, RawBoxItem
-from cubicweb.view import EntityView
 from cubicweb.web import uicfg
 from cubicweb.web.box import BoxTemplate
 
--- a/web/views/startup.py	Fri Jul 03 18:37:26 2009 +0200
+++ b/web/views/startup.py	Mon Jul 06 09:33:09 2009 +0200
@@ -14,6 +14,7 @@
 
 from cubicweb.view import StartupView
 from cubicweb.selectors import match_user_groups, implements
+from cubicweb.schema import display_name
 from cubicweb.common.uilib import ureport_as_html
 from cubicweb.web import ajax_replace_url, uicfg, httpcache
 from cubicweb.web.views import tabs