소스 검색

Fixed #18577 - Clarified middleware initialization.

Thanks Lukasz Balcerzak for the patch.
Tim Graham 12 년 전
부모
커밋
590de18add
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      docs/topics/http/middleware.txt

+ 2 - 1
docs/topics/http/middleware.txt

@@ -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
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~