diff options
| author | Gary Wilson Jr <gary.wilson@gmail.com> | 2008-08-11 04:30:30 +0000 |
|---|---|---|
| committer | Gary Wilson Jr <gary.wilson@gmail.com> | 2008-08-11 04:30:30 +0000 |
| commit | 0b01d50076b7f512394b1cb581030ea736dbbc90 (patch) | |
| tree | 838dd1bc06290bd2a04a81ce2b9b02ee4e87db3e | |
| parent | 00bebaf0d1e6024c7a24a6132bf648c623290bfd (diff) | |
Refs #7742 -- Removed unused `validator_list` argument (this is already being checked by the `UserCreationForm`).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8293 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/contrib/auth/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/auth/models.py b/django/contrib/auth/models.py index b2edef04cb..43b50a3fb9 100644 --- a/django/contrib/auth/models.py +++ b/django/contrib/auth/models.py @@ -131,7 +131,7 @@ class User(models.Model): Username and password are required. Other fields are optional. """ - 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).")) + username = models.CharField(_('username'), max_length=30, unique=True, help_text=_("Required. 30 characters or fewer. Alphanumeric characters only (letters, digits and underscores).")) first_name = models.CharField(_('first name'), max_length=30, blank=True) last_name = models.CharField(_('last name'), max_length=30, blank=True) email = models.EmailField(_('e-mail address'), blank=True) |
