- Python 3.8, 3.9, 3.10
- Django 3.2, 4.0, 4.1
Install using pip...
pip install drf-operation-log
Add '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_log
Add the following to your settings.py
module:
INSTALLED_APPS = [
'django.contrib.admin',
...
'drf_operation_log',
]
DRF_OPERATION_LOG_SAVE_DATABASE = True