I know that topic is old, but I also find a method for this functionality. 
I don't found so I create it by myself.

See this commit: 
https://github.com/egorsmkv/simple-django-login-and-register/commit/a8ca21f1a6bb4fa4eacbc4e904d9ce9adebdf576


On Wednesday, 12 January 2011 03:18:09 UTC+2, Micah Carrick wrote:
>
> Hey guys,
>
> I've been looking into this for a few hours now and don't have a good 
> solution. I want to use the built in authentication system for a project. 
> However, it's essential that (a) users login using their email address and 
> password only (no username or username=email) and that (b) they must 
> "activate" their account via email containing an activation key.
>
> This is a VERY common authentication paradigm and I can only assume I'm 
> missing something. I've seen many people with the same problem, however, 
> most responses seem to be hacks or very outdated. I'm relatively new to 
> Django (10 years PHP) and am hoping somebody has a link or a few vocabulary 
> words to point me in the right direction. Obviously I could implement this 
> myself, but, I really want to use the built-in auth system. DRY. I would 
> expect it to be relatively simple... override a few class methods or 
> something along those lines.
>
> Any help would be much appreciated. Thanks!
>
> -- 
> Micah Carrick, Founder
>
>     *Green Tackle* - *Environmentally Friendly Fishing Tackle*
>     www.GreenTackle.com <http://www.greentackle.com>
>
>      Email: mi...@greentackle.com <javascript:>
>      Phone: 971.270.2206
>      Toll Free: 877.580.9165
>      Fax: 503.946.3106
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/ff32a045-7a64-4aa8-82e6-9641ce130bbe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to