Two Factor Authentication in Django Admin Panel
Check Django version
>>> import django
>>> django.VERSION
(2, 0, 7, 'final', 0)
>>>
install the packages
pip install -U django-otp==0.5.0 qrcode Django==2.0.7
pip install -U django-user-accounts==2.1.0 Django==2.0.7