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
Add “last_active” to your INSTALLED_APPS setting like this
INSTALLED_APPS = [
...
'last_active',
]
Add ‘last_active.middleware.LastActiveMiddleware’ to MIDDLEWARE_CLASSES tuple found in your settings file.
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.
Metadata
Release files for django-last-active-4S 0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-last-active-4S-0.9.tar.gz | 5.2 kB | Details |
Release files / django-last-active-4S-0.9.tar.gz
| Download URL | django-last-active-4S-0.9.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6ee2ed4de611f495dda827bda54a1b8e5fedbb05c8c3148fd66ef0172c06de0f
|
|
BLAKE2b-256 checksum How to use checksums |
f9cd1ffe4503773ca5b967dde2be72b75c393dd5cb80264fce87475e71f05f53
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|