Adding extra layer of security(OTP) to a website [closed]

I’m unable to use Django admin to add device. I have a feeling the problem is in the file. This is the content

From django.contrib import admin
from django.urls import path
from django_otp.admin import OTPAdminSite


urlpatterns = [

I tried logging in to the localhost:8000/admin/. Although it was successful, it prompted ‘choose device’ when I haven’t created one.

Back to Top