Ticket #5827: 5827.patch

File 5827.patch, 510 bytes (added by andreas@…, 17 years ago)
  • django/contrib/admin/sites.py

     
    200200        """
    201201        Displays the login form for the given HttpRequest.
    202202        """
     203        from django.contrib.auth.models import User
     204
    203205        # If this isn't already the login page, display it.
    204206        if not request.POST.has_key(LOGIN_FORM_KEY):
    205207            if request.POST:
Back to Top