Ticket #4346: modelclass.diff
File modelclass.diff, 380 bytes (added by , 18 years ago) |
---|
-
django/contrib/auth/models.py
=== modified file 'django/contrib/auth/models.py'
279 279 pass 280 280 281 281 def __str__(self): 282 return _('AnonymousUser')282 return 'AnonymousUser' 283 283 284 284 def __eq__(self, other): 285 285 return isinstance(other, self.__class__)