django admin and logout

9 views
Skip to first unread message

Hervé Edorh

unread,
May 2, 2018, 12:38:47 PM5/2/18
to Django users
It is possible to make django admin application to logout after 5 minutes of no activity? Thank you

Jani Tiainen

unread,
May 2, 2018, 1:15:26 PM5/2/18
to django...@googlegroups.com
Hi,

It really depends on your definition of "no activity".

By default login is tied to session which expiracy you can set (default 2 weeks).

Session expiry is by default only updated when session is changed, so for example pure reads that don't touch session do not count as activity. This can be changed so that every request touches session.

HTH.

On Wed, May 2, 2018 at 7:38 PM, Hervé Edorh <seno...@gmail.com> wrote:
It is possible to make django admin application to logout after 5 minutes of no activity? 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...@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/1b1bc621-e252-49a7-810d-3b894ad4a19f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Jani Tiainen

- Well planned is half done, and a half done has been sufficient before...

Umar Kambala

unread,
May 2, 2018, 1:19:14 PM5/2/18
to django...@googlegroups.com

Don't get u.. The problem is that I can't install it

Reply all
Reply to author
Forward
0 new messages