mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
825ce75fae
SecurityMiddleware and the three cache middlewares were not calling super().__init__() during their initialization or calling the required MiddlewareMixin._async_check() method. This made the middlewares not properly present as coroutine and confused the middleware chain when used in a fully async context. Thanks Kordian Kowalski for the report. |
||
---|---|---|
.. | ||
__init__.py | ||
test_default_hashing_algorithm.py | ||
test_middleware_mixin.py | ||
tests.py |