Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

newforms-admin: Fixed #5827 -- Added missing import to django/contrib…

…/admin/ Thanks,

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit c080e441f347ad252be5e2d4dc56e9f43fce88cc 1 parent c79babb
@adrianholovaty adrianholovaty authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  django/contrib/admin/
2  django/contrib/admin/
@@ -201,6 +201,8 @@ def login(self, request):
Displays the login form for the given HttpRequest.
+ from django.contrib.auth.models import User
# If this isn't already the login page, display it.
if not request.POST.has_key(LOGIN_FORM_KEY):
if request.POST:
Please sign in to comment.
Something went wrong with that request. Please try again.