Commit 8ba78a0d authored by Tim Graham's avatar Tim Graham
Browse files

[1.4.X] Fixed #18577 - Clarified middleware initialization.

Thanks Lukasz Balcerzak for the patch.

Backport of 590de18a from master
parent dcede047
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -199,7 +199,8 @@ of caveats:
  define ``__init__`` as requiring any arguments.

* Unlike the ``process_*`` methods which get called once per request,
  ``__init__`` gets called only *once*, when the Web server starts up.
  ``__init__`` gets called only *once*, when the Web server responds to the
  first request.

Marking middleware as unused
~~~~~~~~~~~~~~~~~~~~~~~~~~~~