summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorPaul McMillan <Paul@McMillan.ws>2011-09-22 05:36:57 +0000
committerPaul McMillan <Paul@McMillan.ws>2011-09-22 05:36:57 +0000
commit2a4aa8bcf7be28bac9d5ed6a029c2c3f52f389e7 (patch)
treea7c7b5ab213d63aa3a62c930b7320d6b43fcce0f /django
parent5978d7a341aaa7d2adb8579e65c5028de0271f26 (diff)
[1.3.X] Fixed #16837 -- Improved error messages for admin login. Thanks Wim Feijen for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16878 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):
"""