beat.web.utils.management.commands.list_active_users module¶
-
beat.web.utils.management.commands.list_active_users.get_current_users()[source]¶ Get the list of users active on the site.
Works better if the configuration of the site has:
SESSION_EXPIRE_AT_BROWSER_CLOSE = TrueInspired from: https://www.codingforentrepreneurs.com/blog/django-tutorial-get-list-of-current-users/