From 8d4493f3e8d5be168cc2a4c24b5b5c451d86d82f Mon Sep 17 00:00:00 2001 From: Jelmer Draaijer Date: Thu, 26 Oct 2023 14:26:54 +0200 Subject: [PATCH] Add allauth.account.middleware.AccountMiddleware to middleware --- tests/conftest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/conftest.py b/tests/conftest.py index c46e4892..c4d53a89 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -70,6 +70,7 @@ def pytest_configure(config): 'django.middleware.common.CommonMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.locale.LocaleMiddleware', + 'allauth.account.middleware.AccountMiddleware', ), INSTALLED_APPS=( 'django.contrib.auth',