Django

Code

Changeset 6988

Show
Ignore:
Timestamp:
01/01/08 23:30:34 (1 year ago)
Author:
adrian
Message:

newforms-admin: Fixed #5827 -- Added missing import to django/contrib/admin/sites.py. Thanks, andreas@pelme.se

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/branches/newforms-admin/django/contrib/admin/sites.py

    r6811 r6988  
    202202        Displays the login form for the given HttpRequest. 
    203203        """ 
     204        from django.contrib.auth.models import User 
     205 
    204206        # If this isn't already the login page, display it. 
    205207        if not request.POST.has_key(LOGIN_FORM_KEY):