AllAuth.url is not working and not showing path sugestions

Setting.py:

INSTALLED_APPS = [
'channels',
'allauth',
'allauth.account',
'allauth.socialaccount',

'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',


"corsheaders",
]
MIDDLEWARE = [
"corsheaders.middleware.CorsMiddleware",

'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',

"allauth.account.middleware.AccountMiddleware",

'django.middleware.clickjacking.XFrameOptionsMiddleware',

]
AUTHENTICATION_BACKENDS = [
'django.contrib.auth.backends.ModelBackend',

'allauth.account.auth_backends.AuthenticationBackend',
]

File: url.py

urlpatterns = [
path('admin/', admin.site.urls),
path('accounts/', include('allauth.urls')),
]

Like, I just followed the quickstart of all auth, and I've done this once before with a tutorial, but this time something went wrong because when I search for : localhost:8000/accounts/ it says the path doesn't exists, instead of giving me suggestions of follow up. And when I go localhost:8000/ it does suggest admin/, accounts/

Вернуться на верх