diff options
author | Kevin Michel <kevin.michel@sereema.com> | 2020-08-24 22:25:33 +0200 |
---|---|---|
committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-08-28 12:33:15 +0200 |
commit | 825ce75faec63ce81601e31152c757a9c28fed13 (patch) | |
tree | 93c89ad774d62f236371ac01a77f85b499782e98 /django/db/backends/postgresql/operations.py | |
parent | ea57a2834fe32d895e6e6b0f3791feb2fec71737 (diff) | |
download | django-825ce75faec63ce81601e31152c757a9c28fed13.tar.gz |
Fixed #31928 -- Fixed detecting an async get_response in various middlewares.
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.
Diffstat (limited to 'django/db/backends/postgresql/operations.py')
0 files changed, 0 insertions, 0 deletions