Skip to content

Commit

Permalink
Fixed django#18577 - Clarified middleware initialization.
Browse files Browse the repository at this point in the history
Thanks Lukasz Balcerzak for the patch.
timgraham committed Jul 8, 2012
1 parent d44aa98 commit 590de18
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/topics/http/middleware.txt
Original file line number Diff line number Diff line change
@@ -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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 comments on commit 590de18

Please sign in to comment.