Backup the entire database:
python manage.py dumpdata > backup.json
Backup only a selected model:
python manage.py dumpdata app_fossils.DBSpecies > backup.json
pip install django-axes
settings.py
run migrations
python manage.py migrate
You can reset all locked accounts with the following command:
python manage.py axes_reset
To increase the limit of failed logins before IP is locked (default 3) add this line to settings.py: