diff --git a/docs/optimizations/apache.txt b/docs/optimizations/apache.txt index 376787f..5edc02b 100644 --- a/docs/optimizations/apache.txt +++ b/docs/optimizations/apache.txt @@ -51,20 +51,20 @@ Example: .. literalinclude:: /../demo/demoproject/settings.py :language: python - :lines: 64-71 + :lines: 63-70 Then set ``django_downloadview.apache.XSendfileMiddleware`` as ``DOWNLOADVIEW_BACKEND``: .. literalinclude:: /../demo/demoproject/settings.py :language: python - :lines: 77 + :lines: 79 Then register as many ``DOWNLOADVIEW_RULES`` as you wish: .. literalinclude:: /../demo/demoproject/settings.py :language: python - :lines: 80, 85-87, 93, 103 + :lines: 84, 92-100, 110 Each item in ``DOWNLOADVIEW_RULES`` is a dictionary of keyword arguments passed to the middleware factory. In the example above, we capture responses by diff --git a/docs/optimizations/lighttpd.txt b/docs/optimizations/lighttpd.txt index a75ba4f..333c639 100644 --- a/docs/optimizations/lighttpd.txt +++ b/docs/optimizations/lighttpd.txt @@ -57,20 +57,20 @@ Example: .. literalinclude:: /../demo/demoproject/settings.py :language: python - :lines: 64-71 + :lines: 63-70 Then set ``django_downloadview.lighttpd.XSendfileMiddleware`` as ``DOWNLOADVIEW_BACKEND``: .. literalinclude:: /../demo/demoproject/settings.py :language: python - :lines: 78 + :lines: 80 Then register as many ``DOWNLOADVIEW_RULES`` as you wish: .. literalinclude:: /../demo/demoproject/settings.py :language: python - :lines: 80, 94-96, 102, 103 + :lines: 84, 101-110 Each item in ``DOWNLOADVIEW_RULES`` is a dictionary of keyword arguments passed to the middleware factory. In the example above, we capture responses by diff --git a/docs/optimizations/nginx.txt b/docs/optimizations/nginx.txt index 05243fc..6fcd359 100644 --- a/docs/optimizations/nginx.txt +++ b/docs/optimizations/nginx.txt @@ -52,20 +52,20 @@ Example: .. literalinclude:: /../demo/demoproject/settings.py :language: python - :lines: 64-71 + :lines: 63-70 Then set ``django_downloadview.nginx.XAccelRedirectMiddleware`` as ``DOWNLOADVIEW_BACKEND``: .. literalinclude:: /../demo/demoproject/settings.py :language: python - :lines: 75 + :lines: 76 Then register as many ``DOWNLOADVIEW_RULES`` as you wish: .. literalinclude:: /../demo/demoproject/settings.py :language: python - :lines: 80, 81-84, 103 + :lines: 84-89 Each item in ``DOWNLOADVIEW_RULES`` is a dictionary of keyword arguments passed to the middleware factory. In the example above, we capture responses by