KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Possible Duplicate: Accepting email address as username in Django 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 : I am planning to write my own form which shows the fields email, password and the validation. Is this the correct approach?
Tags (comma-separated)
Save Edits
Cancel