import display_name stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 07 Jul 2009 11:42:24 +0200
branchstable
changeset 2305 8f6dbe884700
parent 2292 8240a7d0d52a
child 2306 95da5d9f0870
import display_name
web/facet.py
web/views/csvexport.py
web/views/emailaddress.py
--- a/web/facet.py	Mon Jul 06 17:57:09 2009 +0200
+++ b/web/facet.py	Tue Jul 07 11:42:24 2009 +0200
@@ -21,6 +21,7 @@
 from rql import parse, nodes
 
 from cubicweb import Unauthorized, typed_eid
+from cubicweb.schema import display_name
 from cubicweb.utils import datetime2ticks, make_uid, ustrftime
 from cubicweb.selectors import match_context_prop, partial_relation_possible
 from cubicweb.appobject import AppRsetObject
--- a/web/views/csvexport.py	Mon Jul 06 17:57:09 2009 +0200
+++ b/web/views/csvexport.py	Tue Jul 07 11:42:24 2009 +0200
@@ -7,6 +7,7 @@
 """
 __docformat__ = "restructuredtext en"
 
+from cubicweb.schema import display_name
 from cubicweb.common.uilib import UnicodeCSVWriter
 from cubicweb.view import EntityView, AnyRsetView
 
--- a/web/views/emailaddress.py	Mon Jul 06 17:57:09 2009 +0200
+++ b/web/views/emailaddress.py	Tue Jul 07 11:42:24 2009 +0200
@@ -9,6 +9,7 @@
 
 from logilab.mtconverter import html_escape
 
+from cubicweb.schema import display_name
 from cubicweb.selectors import implements
 from cubicweb.common import Unauthorized
 from cubicweb.web.views import baseviews, primary