# HG changeset patch
# User Nicolas Chauvat <nicolas.chauvat@logilab.fr>
# Date 1248349750 -7200
#      Thu Jul 23 13:49:10 2009 +0200
# Node ID 3dfd0d4f9513f36e17b4b5793ed54171e102d150
# Parent  414aed157eb2b1d8d5f3c60032d3e5df4325d583
obey warning and import display_name

diff --git a/views.py b/views.py
--- a/views.py
+++ b/views.py
@@ -11,6 +11,7 @@
 
 from logilab.mtconverter import html_escape
 
+from cubicweb.schema import display_name
 from cubicweb.view import EntityView, StartupView
 from cubicweb.utils import UStringIO
 from cubicweb.selectors import paginated_rset, sorted_rset, implements