--- a/view.py Wed Jul 01 14:58:09 2009 +0200
+++ b/view.py Wed Jul 01 16:39:55 2009 +0200
@@ -19,7 +19,7 @@
from cubicweb.selectors import require_group_compat, accepts_compat
from cubicweb.appobject import AppRsetObject
from cubicweb.utils import UStringIO, HTMLStream
-
+from cubicweb.schema import display_name
# robots control
NOINDEX = u'<meta name="ROBOTS" content="NOINDEX" />'
--- a/web/views/primary.py Wed Jul 01 14:58:09 2009 +0200
+++ b/web/views/primary.py Wed Jul 01 16:39:55 2009 +0200
@@ -14,10 +14,10 @@
from cubicweb import Unauthorized
from cubicweb.view import EntityView
+from cubicweb.schema import display_name
from cubicweb.web import uicfg
-
class PrimaryView(EntityView):
"""the full view of an non final entity"""
id = 'primary'