From cb0696b0bd08ae12236b02826fc01960ab4ac241 Mon Sep 17 00:00:00 2001 From: Gunther Weissenbaeck Date: Sun, 8 Oct 2023 12:50:48 +0200 Subject: [PATCH] Fix AllAuth (0.57.0) Issue Fixes #59 --- app/core/settings.py | 3 ++- app/requirements.txt | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/core/settings.py b/app/core/settings.py index f632c03..f0ae66f 100644 --- a/app/core/settings.py +++ b/app/core/settings.py @@ -55,7 +55,7 @@ INSTALLED_APPS = [ # ----------------------------------- "allauth", "allauth.account", - "allauth.socialaccount", + # "allauth.socialaccount", # ----------------------------------- # Crispy forms, modals and bootstrap5 # ----------------------------------- @@ -79,6 +79,7 @@ INSTALLED_APPS = [ MIDDLEWARE = [ "django.middleware.security.SecurityMiddleware", + "allauth.account.middleware.AccountMiddleware", "whitenoise.middleware.WhiteNoiseMiddleware", "django.contrib.sessions.middleware.SessionMiddleware", "django.middleware.common.CommonMiddleware", diff --git a/app/requirements.txt b/app/requirements.txt index a675b9c..34d60c7 100644 --- a/app/requirements.txt +++ b/app/requirements.txt @@ -1,5 +1,5 @@ crispy-bootstrap5>=0.6 -django-allauth==0.55 +django-allauth>=0.55 django-bootstrap-datepicker-plus>=4.0 django-bootstrap-modal-forms>=2 django-ckeditor>=6.6