Skip to content

Commit

Permalink
newforms-admin: Fixed #7502 -- Fixed an i18n breakge introduced in [7…
Browse files Browse the repository at this point in the history
…694]. Thanks frasern.

git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@7711 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
brosner committed Jun 20, 2008
1 parent abe84c8 commit c929440
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/contrib/admin/sites.py
Expand Up @@ -231,7 +231,7 @@ def login(self, request):
else: else:
if user.check_password(password): if user.check_password(password):
message = _("Your e-mail address is not your username." message = _("Your e-mail address is not your username."
" Try '%s' instead." % user.username) " Try '%s' instead.") % user.username
else: else:
message = _("Usernames cannot contain the '@' character.") message = _("Usernames cannot contain the '@' character.")
return self.display_login_form(request, message) return self.display_login_form(request, message)
Expand Down

0 comments on commit c929440

Please sign in to comment.