Ticket #7502: 7502.diff
File 7502.diff, 707 bytes (added by , 16 years ago) |
---|
-
django/contrib/admin/sites.py
231 231 else: 232 232 if user.check_password(password): 233 233 message = _("Your e-mail address is not your username." 234 " Try '%s' instead." % user.username)234 " Try '%s' instead.") % user.username 235 235 else: 236 236 message = _("Usernames cannot contain the '@' character.") 237 237 return self.display_login_form(request, message)