summaryrefslogtreecommitdiff
path: root/docs/cache.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/cache.txt')
-rw-r--r--docs/cache.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/cache.txt b/docs/cache.txt
index 7bb8ab6398..f15da2660b 100644
--- a/docs/cache.txt
+++ b/docs/cache.txt
@@ -236,7 +236,7 @@ setting the ``Vary`` header (using something like
``response['Vary'] = 'user-agent'``) is that the decorator adds to the ``Vary``
header (which may already exist) rather than setting it from scratch.
-Note that you can pass multiple headers to ``vary_on_headers()``:
+Note that you can pass multiple headers to ``vary_on_headers()``::
@vary_on_headers('User-Agent', 'Cookie')
def my_view(request):