HTTP queries logger with flexible filters.
Project description
# django-activity-log
Forked from : https://github.com/scailer/django-user-activity-log
Changelogs of this fork is here:
#### 1. `ACTIVITYLOG_MAIN_IP_KEY_VALUE`: you can set this string settings.py file when you have a specific CDN or each changes in headers of request of user at fron-tend side , this key value is the highest priority to set IP address from headers.
#### 2. `ACTIVITYLOG_MAXIMUM_RECORD_SIZE`: you can set this integer in settings.py file this constraint controls number of saving records with remove oldest records.
#### 3. `EXCLUDE_IP_LIST`: you can set this list settings.py file this is a list of IP addresses that you do not want to log them.
#### 4. `IP_ADDRESS_HEADERS`: I changed this priority to find the IP address better. when you have a CDN , previous library saves IP address of CDN and it is not useful.
#### 5. headers: you have a new field in changelog model that saves headers of request of user as a pretty string
#### 6. payload: you have a new field in changelog model that saves payload of request of user as a pretty string
#### 7. Test on django version 4.0.1: It works good with django version 4.0.1
#### 8. change migration files: delete old migrations and create one file to migrate models of this library.
repository address:
https://github.com/HosseinSayyedMousavi/django-user-activity-log
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 Distributions
Built Distributions
Hashes for django_activity_log-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f948b1c9e81724ba46b296d2a38ee50ee2c19c439c263f247fc86c3407e518bc |
|
MD5 | 4af1efca3bd169fc69be5b7a5e5236f0 |
|
BLAKE2b-256 | 43610f2bca309568c01a8749ff9264e86f87264cba9f23709a4469c1d8059139 |
Hashes for django_activity_log-1.0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc638dd48a3987a37f198c7dccef006ae34853d51a7debc234892d42c804787b |
|
MD5 | 51241b15168de989f63fe1bcded59314 |
|
BLAKE2b-256 | 84aea8f7e2e89fbdf1d34d771c63c146451f17e78ad53c8f9414a8cdccea7ea8 |