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.

Diff Revision 2

This is not the most recent revision of the diff. The latest diff is revision 3. See what's changed.

orig
1
2
3

Commits

First Last 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
djblets/extensions/extension.py
djblets/extensions/manager.py
djblets/extensions/middleware.py
djblets/extensions/tests/test_middleware.py
djblets/integrations/manager.py
djblets/integrations/tests/test_manager.py
djblets/integrations/tests/testcases.py
docs/djblets/guides/integrations/supporting-integrations.rst
tests/settings.py
Loading...