Re: django admin and logout

2018-05-02 Thread Umar Kambala
Don't get u.. The problem is that I can't install it
On May 2, 2018 5:15 PM, "Jani Tiainen" <rede...@gmail.com> wrote:

> 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 <senobo...@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+unsubscr...@googlegroups.com.
>> To post to this group, send email to django-users@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/ms
>> gid/django-users/1b1bc621-e252-49a7-810d-3b894ad4a19f%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/1b1bc621-e252-49a7-810d-3b894ad4a19f%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> 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...
>
> --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@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/CAHn91of-U9-9LWHCUhPx4W%3DaqOKfx%3DSUT-
> q_YoUT9QU8Rt_vjw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAHn91of-U9-9LWHCUhPx4W%3DaqOKfx%3DSUT-q_YoUT9QU8Rt_vjw%40mail.gmail.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@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/CAPkbFbayY7oQSPzv497DuzWopE_cxoH5Yt5SYY%2BXUJO66Aa6MQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: django admin and logout

2018-05-02 Thread Jani Tiainen
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 <senobo...@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+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@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
> <https://groups.google.com/d/msgid/django-users/1b1bc621-e252-49a7-810d-3b894ad4a19f%40googlegroups.com?utm_medium=email_source=footer>
> .
> 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...

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@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/CAHn91of-U9-9LWHCUhPx4W%3DaqOKfx%3DSUT-q_YoUT9QU8Rt_vjw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


django admin and logout

2018-05-02 Thread Hervé Edorh
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@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.