summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorPaul McMillan <Paul@McMillan.ws>2011-09-22 04:16:21 +0000
committerPaul McMillan <Paul@McMillan.ws>2011-09-22 04:16:21 +0000
commit0781ed8ec8dab4f4658787c9dc1ca8499ccc1a18 (patch)
tree16e24a0e5a30b6124324c2cb435c441a066389f6 /django
parent5a01324f20305213cb4429b8ef4c376fe19a7fd7 (diff)
Fixed #16837 -- Improved error message for admin login.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16872 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django')
-rw-r--r--django/contrib/admin/forms.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/contrib/admin/forms.py b/django/contrib/admin/forms.py
index f26c10014d..e790e2e3b6 100644
--- a/django/contrib/admin/forms.py
+++ b/django/contrib/admin/forms.py
@@ -6,8 +6,8 @@ from django.contrib.auth.models import User
from django.utils.translation import ugettext_lazy, ugettext as _
-ERROR_MESSAGE = ugettext_lazy("Please enter a correct username and password. "
- "Note that both fields are case-sensitive.")
+ERROR_MESSAGE = ugettext_lazy("Please enter the correct username and password "
+ "for a staff account. Note that both fields are case-sensitive.")
class AdminAuthenticationForm(AuthenticationForm):
"""