Monday, July 29, 2013

Re: How the authentication takes place at the backend in django?

You can always read the source code to find this out

https://github.com/django/django/blob/master/django/contrib/auth/models.py

https://github.com/django/django/blob/master/django/contrib/auth/backends.py

https://github.com/django/django/blob/master/django/contrib/auth/hashers.py

Also the docs are very good

https://docs.djangoproject.com/en/dev/topics/auth/default/#auth-web-requests

https://docs.djangoproject.com/en/dev/ref/contrib/auth/

K


On Saturday, July 27, 2013 10:37:25 PM UTC-7, Viji Venkatesan wrote:
Hi,


If we are giving credentials in login form as username and password,how the process takes place to check with database at the backend ,whether the user is authenticated or not.?
just make clear of it....please give detail explanation for it.

Thank you.!!

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment