Changeset 5421
- Timestamp:
- 06/04/07 02:48:51 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/unicode/django/contrib/auth/models.py
r5320 r5421 282 282 283 283 def __unicode__(self): 284 return _('AnonymousUser') 284 return 'AnonymousUser' 285 286 def __str__(self): 287 return unicode(self).encode('utf-8') 285 288 286 289 def __eq__(self, other):
