This commit is contained in:
Matthias 2021-09-05 19:58:21 +02:00
parent fa1ea2f701
commit 7fa87edda7
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -286,11 +286,6 @@ INSTALLED_APPS = [
'allauth.socialaccount', # Use 'social' providers 'allauth.socialaccount', # Use 'social' providers
] ]
# Load the allauth social backends
SOCIAL_BACKENDS = CONFIG.get('social_backends', [])
for app in SOCIAL_BACKENDS:
INSTALLED_APPS.append(app)
MIDDLEWARE = CONFIG.get('middleware', [ MIDDLEWARE = CONFIG.get('middleware', [
'django.middleware.security.SecurityMiddleware', 'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware',
@ -659,3 +654,10 @@ MESSAGE_TAGS = {
} }
SITE_ID = 1 SITE_ID = 1
# Load the allauth social backends
SOCIAL_BACKENDS = CONFIG.get('social_backends', [])
for app in SOCIAL_BACKENDS:
INSTALLED_APPS.append(app)