Change middleware to always be new-style.
Review Request #11961 — Created Jan. 21, 2022 and submitted
With Djblets 3.x using only Django 3.2+, we no longer need to deal with
old-style middleware or theMIDDLEWARE_CLASSES
setting. This change
updates things to always use the new style.
Ran unit tests.
Summary | ID |
---|---|
ea7313b1e56df9c3bd332bd1f1388980025b6782 |
Description | From | Last Updated | ||
---|---|---|---|---|
E501 line too long (82 > 79 characters) |
![]() |
|||
Might as well make this one statement now. |
|
|||
Type/description needs to be indented. |
|
|||
This can be: middleware = list(reversed(self._middleware_classes)) |
|
|||
Summary should be on the """ line. |
|
|||
No need for parens here. |
|
|||
There are no open issues |
- Commits:
-
Summary ID 439be6ca76713884a6d08f68b94c0a82e830ca49 41c445ffdffd4513829e9511eb48046f9547f142 - Diff:
-
Revision 2 (+232 -652)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.
- Commits:
-
Summary ID 41c445ffdffd4513829e9511eb48046f9547f142 ea7313b1e56df9c3bd332bd1f1388980025b6782 - Diff:
-
Revision 3 (+228 -654)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.