Django

Code

Show
Ignore:
Timestamp:
05/13/08 09:50:44 (8 months ago)
Author:
gwilson
Message:

newforms-admin: Cleaned up imports, refs #6083.

Files:

Legend:

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

    r7524 r7525  
     1import base64 
     2import datetime 
     3 
    14from django.core import validators 
    25from django import oldforms 
     
    912from django.contrib.contenttypes.models import ContentType 
    1013from django.contrib.auth import authenticate 
    11 from django.contrib.auth.forms import AuthenticationForm 
    1214from django.http import HttpResponseRedirect 
    1315from django.utils.text import normalize_newlines 
     
    1517from django.utils.translation import ungettext, ugettext as _ 
    1618from django.utils.encoding import smart_unicode 
    17 import base64, datetime 
    1819 
    1920COMMENTS_PER_PAGE = 20 
     21 
     22# TODO: This is a copy of the manipulator-based form that used to live in 
     23# contrib.auth.forms.  It should be replaced with the newforms version that 
     24# has now been added to contrib.auth.forms when the comments app gets updated 
     25# for newforms. 
    2026 
    2127class AuthenticationForm(oldforms.Manipulator):