- Python 3.8, 3.9, 3.10
- Django 3.2, 4.0, 4.1
Install using pip...
pip install drf-operation-logAdd 'drf_operation_log' to your INSTALLED_APPS setting.
INSTALLED_APPS = [
'django.contrib.admin',
...
'drf_operation_log',
]Let's take a look at a quick start of using drf_operation_log to saving operation logs.
Run the drf_operation_log migrations using:
python manage.py migrate drf_operation_logAdd the following to your settings.py module:
INSTALLED_APPS = [
'django.contrib.admin',
...
'drf_operation_log',
]
DRF_OPERATION_LOG_SAVE_DATABASE = True