0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00

Fixed #18577 - Clarified middleware initialization.

Thanks Lukasz Balcerzak for the patch.
This commit is contained in:
Tim Graham 2012-07-08 19:26:53 -04:00
parent d44aa98184
commit 590de18add

View File

@ -199,7 +199,8 @@ of caveats:
define ``__init__`` as requiring any arguments. define ``__init__`` as requiring any arguments.
* Unlike the ``process_*`` methods which get called once per request, * 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 Marking middleware as unused
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~