Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Put middleware example in python code block

  • Loading branch information...
commit f164ca240867131c0087628fc5789df5aa4ac872 1 parent 3961266
Eric Davis authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 README.rst
4 README.rst
View
@@ -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',
Please sign in to comment.
Something went wrong with that request. Please try again.