Browse files

Put middleware example in python code block

  • Loading branch information...
1 parent 3961266 commit f164ca240867131c0087628fc5789df5aa4ac872 @edavis committed Nov 22, 2012
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.