Re: override a form field, to allow usernames with '@'

2010-05-04 Thread Nick Serra
I just implemented this and it's a hassle. There are heated discussions about it. I ended up modifying the auth app and completely eliminating the 'username' field and just using email. Then I modified the admin app to allow the login, and am basically just completely overriding both. Good luck! O

Re: override a form field, to allow usernames with '@'

2010-05-04 Thread Bill Freeman
Consider that there may be some third party app which you will want to add in the future, and that it may depend on the existing nature of usernames. (E.g.; uses username as a slug and uses a simple regular expression in a url pattern to capture the username. Consider that usernames are currently

Re: override a form field, to allow usernames with '@'

2010-05-03 Thread Felippe Bueno
Btw, I read about django don't accept @ in usernames, but I can create a User using User.create_user(m...@email.com, m...@email.com, mypassword) The only problem is, I can't save the user at admin site. I was thinking if the limitation is only at forms. I did not test the authentication yet. Any o