The authentication model provided along with django is based on
username.

What to do to change the authentication based on email instead of
username?

To be more specific
~~~~~~~~~~~
    With username authentication , to login user  we do the following

    user = authenticate(name,password)
    .......
    login(request,user)

    what to write for the above statements if we are authenticating
using email?

 For form
 ~~~~~
iam planning to write my own form which shows the fields
email,password and the validation.
Is this the correct approach?

--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to