(I)AS web project
pip install django-crispy-forms
pip install django-sslserver
pip install django-qr-code
pip install pyotp
pip install django-cryptography
python -m pip install Pillow
pip install django-axes
Install mkcert for a zero-config HTTPS setup.
Install a local certificate authority with:
mkcert -install
Generate a certificate and key for the website:
mkcert -cert-file cert.pem -key-file key.pem localhost 127.0.0.1
Replace the value of the SECRET_KEY
setting inside settings.py
with the appropriate key.
python manage.py runsslserver --certificate cert.pem --key key.pem
python manage.py axes_list_attempts
python manage.py axes_reset
python manage.py axes_reset_username [username ...]