chore(settings/base.py): add oauth to INSTALLED_APPS and MIDDLEWARE

This commit is contained in:
2026-03-18 11:47:58 +01:00
parent 718aeb9cf5
commit 12de01c2dc

View File

@@ -58,6 +58,7 @@ INSTALLED_APPS = [
"allauth.account",
"allauth.socialaccount",
"allauth.socialaccount.providers.github",
"oauth2_provider",
"tailwind",
"theme",
"widget_tweaks",
@@ -75,6 +76,7 @@ MIDDLEWARE = [
"wagtail.contrib.redirects.middleware.RedirectMiddleware",
"allauth.account.middleware.AccountMiddleware",
"django.middleware.locale.LocaleMiddleware",
"oauth2_provider.middleware.OAuth2TokenMiddleware",
]
ROOT_URLCONF = "kursy.urls"