# HG changeset patch # User sylvain.thenault@logilab.fr # Date 1240479561 -7200 # Thu Apr 23 11:39:21 2009 +0200 # Branch tls-sprint # Node ID cbe83758dbfde19dbba2d42827d89ed6ab53ee5a # Parent a4c2580dc69c97b47bf85ed12ca73a0f6e58ac52 update entity types diff --git a/test/data/schema.py b/test/data/schema.py --- a/test/data/schema.py +++ b/test/data/schema.py @@ -1,5 +1,5 @@ class comments(RelationDefinition): subject = 'Comment' - object = ('EUser', 'BlogEntry') + object = ('CWUser', 'BlogEntry') cardinality='1*' composite='object' diff --git a/views.py b/views.py --- a/views.py +++ b/views.py @@ -45,7 +45,7 @@ # display text, author and creation date self.w(u'<div class="comment">') self.w(u'<div class="commentInfo">') - # do not try to display creator when you're not allowed to see EUsers + # do not try to display creator when you're not allowed to see CWUsers if entity.creator: authorlink = entity.creator.view('oneline') self.w(u'%s %s\n' % (self.req._('written by'), authorlink))