From b9a6b924262ebde9fdc2b54cf27af0eb49389179 Mon Sep 17 00:00:00 2001 From: Roberto Himmelbauer Date: Tue, 19 Sep 2023 10:18:02 -0700 Subject: [PATCH] added allauth middleware for latest release --- develop/develop/settings.py | 2 ++ requirements.dev.txt | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/develop/develop/settings.py b/develop/develop/settings.py index 1179ecd4..569b20fa 100644 --- a/develop/develop/settings.py +++ b/develop/develop/settings.py @@ -63,6 +63,8 @@ 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', + # Add the account middleware: + "allauth.account.middleware.AccountMiddleware", ] ROOT_URLCONF = 'develop.urls' diff --git a/requirements.dev.txt b/requirements.dev.txt index deb674ae..9c1829fc 100644 --- a/requirements.dev.txt +++ b/requirements.dev.txt @@ -141,4 +141,4 @@ typing-extensions==4.7.1 # dj-database-url # mypy urllib3==2.0.3 - # via requests + # via requests \ No newline at end of file