Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Put middleware example in python code block

  • Loading branch information...
commit f164ca240867131c0087628fc5789df5aa4ac872 1 parent 3961266
@edavis authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 README.rst
View
4 README.rst
@@ -34,7 +34,9 @@ to outgoing responses while ``LastModifiedMiddleware`` adds the
Last-Modified/ETag header and performs the
If-Modified-Since/If-None-Match checking.
-Here's a recommended MIDDLEWARE_CLASSES order::
+Here's a recommended MIDDLEWARE_CLASSES order:
+
+.. code-block:: python
MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',

0 comments on commit f164ca2

Please sign in to comment.
Something went wrong with that request. Please try again.