Ticket #4346: modelclass.diff

File modelclass.diff, 380 bytes (added by Marc Fargas <telenieko@…>, 17 years ago)

Strips _()

  • django/contrib/auth/models.py

    === modified file 'django/contrib/auth/models.py'
     
    279279        pass
    280280
    281281    def __str__(self):
    282         return _('AnonymousUser')
     282        return 'AnonymousUser'
    283283
    284284    def __eq__(self, other):
    285285        return isinstance(other, self.__class__)
Back to Top