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:35:53 +0200 |
| commit | 3a42c0447b6a3187bd2aaae0bba566d835c47d22 (patch) | |
| tree | 1352fdfce2e4761177be5a34523d29ff394733fb /docs/ref | |
| parent | 14a19700d8b90b5949381153c854613a45923ef4 (diff) | |
[3.1.x] 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.
Backport of 825ce75faec63ce81601e31152c757a9c28fed13 from master
Diffstat (limited to 'docs/ref')
0 files changed, 0 insertions, 0 deletions
