Ticket #7502: 7502.diff

File 7502.diff, 707 bytes (added by arien, 7 years ago)

patch as per description

  • django/contrib/admin/sites.py

     
    231231                else:
    232232                    if user.check_password(password):
    233233                        message = _("Your e-mail address is not your username."
    234                                     " Try '%s' instead." % user.username)
     234                                    " Try '%s' instead.") % user.username
    235235                    else:
    236236                        message = _("Usernames cannot contain the '@' character.")
    237237            return self.display_login_form(request, message)
Back to Top