semvec/pypi-packages huggingface dataset:
django-last-active-4S 0.9
A Django app to track when a user is last active and eventually provide weekly active user stats
License: MIT
Requires Python: >=3.6

last_active
===========

last_active is a Django app to track when a user is last active on a
website. The last active time is kept on the database.

It was forked from ``django-last-seen``.

The intention is to eventually add weekly active user tracking feature
as well.

Installation
------------

1. Add “last_active” to your INSTALLED_APPS setting like this

::

       INSTALLED_APPS = [
           ...
           'last_active',
       ]

2. Add ‘last_active.middleware.LastActiveMiddleware’ to
   MIDDLEWARE_CLASSES tuple found in your settings file.

3. Run ``python manage.py migrate`` to create the last_active models.

Settings
--------

**LAST_SEEN_DEFAULT_MODULE**

The default module used on the middleware. The default value is default.

**LAST_SEEN_INTERVAL**

How often is the last seen timestamp updated to the database. The
default is 2 hours.