Ticket #16837: 16837.general_error_message.diff

File 16837.general_error_message.diff, 631 bytes (added by Wim Feijen <wim@…>, 13 years ago)
  • django/contrib/admin/forms.py

    diff --git a/django/contrib/admin/forms.py b/django/contrib/admin/forms.py
    index f26c100..7d85753 100644
    a b from django.contrib.auth.models import User  
    66
    77from django.utils.translation import ugettext_lazy, ugettext as _
    88
    9 ERROR_MESSAGE = ugettext_lazy("Please enter a correct username and password. "
    10                               "Note that both fields are case-sensitive.")
     9ERROR_MESSAGE = ugettext_lazy("Username and password incorrect or access to this page is restricted.")
    1110
    1211class AdminAuthenticationForm(AuthenticationForm):
    1312    """
Back to Top