Re: Can I change the restriction on "username" without breaking anything?
Thanks David! I was wondering about doing the same thing! I had not
thought of your idea of soft-switching the login name from username to
email. Interesting idea. I was toying with making my own class +
auth backenend so I could change the DB layout to drop email. But I
could see that having issues in places that expect an email field....
I'm going to setup a spike of your idea this morning and see how it
goes.
One wrinkle I can see is the contrib.auth.forms has a regex filter on
username that prevents the "@" symbol. Although I have to go see if
the Admin system over-rides that anyway - I think it does.
If anybody else has a clever idea, I'm listening!
Thanks again all!
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home