#10051: Admin site forms enforce arbitrary requirements on usernames that aren't
required by the User model
---------------------------------+------------------------------------------
 Reporter:  [email protected]  |       Owner:  nobody    
   Status:  new                  |   Milestone:            
Component:  Authentication       |     Version:  1.0       
 Keywords:                       |       Stage:  Unreviewed
Has_patch:  0                    |  
---------------------------------+------------------------------------------
 django/contrib/auth/forms.py : UserCreationForm and UserChangeForm both
 use RegexFields (DRY violation here, by the way) for the username.
 Shouldn't this checking be in the User model class instead?  User objects
 created through other channels don't get these checks.

 In my app I want usernames to be email addresses, and there was no problem
 with this until I started using the admin site to update User entries.

 cheers,
 dustin.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/10051>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to