mirror of
https://github.com/django/django.git
synced 2025-07-04 09:49:12 +00:00
newforms-admin: Fixed #7502 -- Fixed an i18n breakge introduced in [7694]. Thanks frasern.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@7711 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
abe84c8648
commit
c929440fcd
@ -231,7 +231,7 @@ class AdminSite(object):
|
||||
else:
|
||||
if user.check_password(password):
|
||||
message = _("Your e-mail address is not your username."
|
||||
" Try '%s' instead." % user.username)
|
||||
" Try '%s' instead.") % user.username
|
||||
else:
|
||||
message = _("Usernames cannot contain the '@' character.")
|
||||
return self.display_login_form(request, message)
|
||||
|
Loading…
x
Reference in New Issue
Block a user