Middleware to log user activities in Django
Project description
Django Activity Logger
Middleware to log user activities in Django (IP, path, method, status code, user agent, and more).
Features
- Logs every authenticated user request
- Saves method, path, status, IP address, and user agent
- Easy integration via middleware
- Customizable for more tracking (e.g., GeoIP, duration, request data)
Installation
pip install modar-django-activity-logger-plus
INSTALLED_APPS = [
...
'activity_logger',
]
MIDDLEWARE = [
...
'activity_logger.middleware.ActivityMiddleware',
]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file modar_django_activity_logger_plus-0.1.0.tar.gz.
File metadata
- Download URL: modar_django_activity_logger_plus-0.1.0.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2e332ac90b0a05d43c81b0d0a9eb174fe5b44630c7e9b0a6c4b3aadd85725fc
|
|
| MD5 |
448cdcd3394ca0c934c69f28fa888f66
|
|
| BLAKE2b-256 |
e9fc7f8010a7487a47254464b8bff3990e1ac3d1104e9794bc73780ede9f3d8b
|
File details
Details for the file modar_django_activity_logger_plus-0.1.0-py3-none-any.whl.
File metadata
- Download URL: modar_django_activity_logger_plus-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c8eee7c6d2c4ab7eba4a01db9b01261f85961217293611bc0d67a7e476eb144
|
|
| MD5 |
ae9e9a122d21a07e82198d15e1f3bc0a
|
|
| BLAKE2b-256 |
e7ffde006291d3f588a2ad836744ad90767d76f1a0df6b9afce322a003ea3219
|