In this project, I've used Google Authenticator for implementing Time-based One-time Password (TOTP) to validate user while login to the Django admin panel.
- Install dependancies by
pip install -r requirements.txt
- Database migration by
python manage.py migrate
- Create superuser by
python manage.py createsuperuser
- Finally run the project by
python manage.py runserver
For detailed guide visit my blog.