Hi,

This is really problematic domain since as you know, Django works on HTTP request-response cycle. After cycle is finished there is absolutely no way to know "who is logged on".

So first you have to determine factors that make up "currently active user". Then you have to track that information somehow and after that it's possible to gather a list of active/inactive users.

On 09.12.2015 14:43, Fabio C. Barrionuevo da Luz wrote:
hello,
Django provide any API for get all users who are currently connected?

I need to run some scheduled tasks for users who are not connected and did not understand how I can get the users with active login via Session



--
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5668248D.2070501%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to