Change middleware to always be new-style.

Review Request #11961 — Created Jan. 21, 2022 and submitted — Latest diff uploaded

Information

Djblets
release-3.x

Reviewers

With Djblets 3.x using only Django 3.2+, we no longer need to deal with
old-style middleware or the MIDDLEWARE_CLASSES setting. This change
updates things to always use the new style.

Ran unit tests.

Changes between revision 2 and 3

orig
1
2
3

Commits

Summary ID Author
Change middleware to always be new-style.
With Djblets 3.x using only Django 3.2+, we no longer need to deal with old-style middleware or the MIDDLEWARE_CLASSES setting. This change updates things to always use the new style. Testing Done: Ran unit tests.
41c445ffdffd4513829e9511eb48046f9547f142 David Trowbridge
Change middleware to always be new-style.
With Djblets 3.x using only Django 3.2+, we no longer need to deal with old-style middleware or the MIDDLEWARE_CLASSES setting. This change updates things to always use the new style. Testing Done: Ran unit tests.
ea7313b1e56df9c3bd332bd1f1388980025b6782 David Trowbridge
djblets/extensions/extension.py
djblets/extensions/manager.py
djblets/extensions/middleware.py
djblets/integrations/manager.py
Loading...