Skip to content
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...
1 parent c79babb commit c080e441f347ad252be5e2d4dc56e9f43fce88cc @adrianholovaty adrianholovaty committed
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:

0 comments on commit c080e44

Please sign in to comment.
Something went wrong with that request. Please try again.