diff --git a/test/data/schema.py b/test/data/schema.py index a4c2580dc69c97b47bf85ed12ca73a0f6e58ac52_dGVzdC9kYXRhL3NjaGVtYS5weQ==..cbe83758dbfde19dbba2d42827d89ed6ab53ee5a_dGVzdC9kYXRhL3NjaGVtYS5weQ== 100644 --- 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 index a4c2580dc69c97b47bf85ed12ca73a0f6e58ac52_dmlld3MucHk=..cbe83758dbfde19dbba2d42827d89ed6ab53ee5a_dmlld3MucHk= 100644 --- 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))