Invoke session middleware correctly.

Review Request #11977 — Created Jan. 22, 2022 and submitted

Information

Djblets
release-3.x

Reviewers

For a while, middleware was allowed to be invoked in the old way
(instantiate with no arguments and then call process_request). This is
going away, and we'll need to instantiate with a get_response callable
and go through the new-style chain. This change updates our tests which
manually invoke middleware to do that.

Ran unit tests.

Summary ID
Invoke session middleware correctly.
For a while, middleware was allowed to be invoked in the old way (instantiate with no arguments and then call `process_request`). This is going away, and we'll need to instantiate with a `get_response` callable and go through the new-style chain. This change updates our tests which manually invoke middleware to do that. Testing Done: Ran unit tests.
028a92de8959c069a76bdf38661a100e6f8d2043
chipx86
  1. Ship It!
  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.x (100f3cb)
Loading...