Skip to content

Commit

Permalink
tests/project/settings: add allauth middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
goapunk authored and m4ra committed Feb 13, 2024
1 parent adcce26 commit d9d11de
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/project/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@
"rules.apps.AutodiscoverRulesConfig",
"django.contrib.admin",
"django.contrib.auth",
"allauth",
"allauth.account",
"django.contrib.contenttypes",
"django.contrib.sessions",
"django.contrib.messages",
Expand All @@ -77,6 +79,7 @@
"django.contrib.auth.middleware.AuthenticationMiddleware",
"django.contrib.messages.middleware.MessageMiddleware",
"django.middleware.clickjacking.XFrameOptionsMiddleware",
"allauth.account.middleware.AccountMiddleware",
)

ROOT_URLCONF = "tests.project.urls"
Expand Down

0 comments on commit d9d11de

Please sign in to comment.