web/views/cwuser.py
changeset 6582 8eb7883b4223
parent 6339 bdc3dc94d744
child 6891 e409a012c505
--- a/web/views/cwuser.py	Thu Oct 21 18:38:36 2010 +0200
+++ b/web/views/cwuser.py	Fri Oct 22 09:15:35 2010 +0200
@@ -18,6 +18,7 @@
 """Specific views for users and groups"""
 
 __docformat__ = "restructuredtext en"
+_ = unicode
 
 import hashlib
 
@@ -107,6 +108,7 @@
     __select__ = tabs.PrimaryTab.__select__ & is_instance('CWGroup')
 
     def render_entity_attributes(self, entity):
+        _ = self._cw._
         rql = 'Any U, FN, LN, CD, LL ORDERBY L WHERE U in_group G, ' \
               'U login L, U firstname FN, U surname LN, U creation_date CD, ' \
               'U last_login_time LL, G eid %(x)s'