Django

Code

Changeset 8293

Show
Ignore:
Timestamp:
08/10/08 23:30:30 (4 months ago)
Author:
gwilson
Message:

Refs #7742 -- Removed unused validator_list argument (this is already being checked by the UserCreationForm).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/contrib/auth/models.py

    r8246 r8293  
    132132    Username and password are required. Other fields are optional. 
    133133    """ 
    134     username = models.CharField(_('username'), max_length=30, unique=True, validator_list=[validators.isAlphaNumeric], help_text=_("Required. 30 characters or fewer. Alphanumeric characters only (letters, digits and underscores).")) 
     134    username = models.CharField(_('username'), max_length=30, unique=True, help_text=_("Required. 30 characters or fewer. Alphanumeric characters only (letters, digits and underscores).")) 
    135135    first_name = models.CharField(_('first name'), max_length=30, blank=True) 
    136136    last_name = models.CharField(_('last name'), max_length=30, blank=True)