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!

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

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

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

2010-05-02 Thread Rob
Hi, I'm trying to allow usernames that have '@' in them, so they can just be email addresses. Maybe this is a bad idea. ... But putting that aside for a second... The admin user forms don't validate with '@' in usernames, so I thought I'd try this, which I copied from an older post in this