Friday, December 30, 2011

Re: What does login() and logout() actually do?

On Fri, 30 Dec 2011 16:34:13 -0800 (PST)
David Zheng <> wrote:

> Does anyone know where can I find the source code of the login() and
> logout() function or any articles talking about these two functions in
> detail. I really need to know what happens behind the scene to better
> understand Django's session framework.

The relevant source code is accessible in the django.contrib.auth package:

Some further details on how these functions work is given in the docs:


You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment