Hi, I can suggest one thing it might be useful for you. For this you need to create one more attribute in session table like *last activity,* which will update every time when user is logged in and perform some action. Write one middle-ware which will check the activity of each user and update *last activity *field in request repose cycle.
I am not sure will this approach is acceptable for your current scenario. Thanks, Hemendra Singh -- 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/61033f3d-18cd-4302-abfb-4e6614257e1e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.