Skip to content

Commit f86db31

Browse files
authored
Merge pull request #222 from honeylogic-io/add-account-middleware
fix: add allauth.account.middleware.AccountMiddleware
2 parents 73940ae + 6ee80c4 commit f86db31

File tree

5 files changed

+4
-1
lines changed

5 files changed

+4
-1
lines changed

config/settings/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@
185185
"watson.middleware.SearchContextMiddleware",
186186
"wagtail.contrib.redirects.middleware.RedirectMiddleware",
187187
"waffle.middleware.WaffleMiddleware",
188+
"allauth.account.middleware.AccountMiddleware",
188189
"django_prometheus.middleware.PrometheusAfterMiddleware",
189190
]
190191

config/settings/test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
With these settings, tests run faster.
33
"""
4+
45
# pylint: disable=wildcard-import,unused-wildcard-import
56
from .base import * # noqa
67
from .base import env

config/wsgi.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
framework.
1414
1515
"""
16+
1617
import os
1718
import sys
1819
from pathlib import Path

django_wtf/users/tests/test_forms.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
Module for all Form Tests.
33
"""
4+
45
# pylint: disable=too-few-public-methods
56
import pytest
67
from django.utils.translation import gettext_lazy as _

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ python_files = "tests.py test_*.py"
9090
norecursedirs = ".git */migrations/* */static/* venv .venv .poetry .virtualenv node_modules"
9191

9292
[tool.black]
93-
skip_numeric_underscore_normalization = true
9493
exclude = ".*(venv|virtualenv|.poetry|migrations|node_modules)"
9594

9695
[tool.isort]

0 commit comments

Comments
 (0)