summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-12-28 11:33:24 -0500
committerTim Graham <timograham@gmail.com>2013-12-28 11:33:24 -0500
commit81a5e35c8d357051e558e6f0d1b6ff7a7523a537 (patch)
tree607f3d373741d77fd5a57809574ca7470128ed4e /docs
parent71a03e01aa19cbde08e915d156abf39b67d904ef (diff)
Fixed doc indentation in previous commit.
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/cache.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/topics/cache.txt b/docs/topics/cache.txt
index 5fc352f4ec..37e94957db 100644
--- a/docs/topics/cache.txt
+++ b/docs/topics/cache.txt
@@ -1054,10 +1054,10 @@ produces different content based on some difference in request headers -- such
as a cookie, or a language, or a user-agent -- you'll need to use the ``Vary``
header to tell caching mechanisms that the page output depends on those things.
- .. versionchanged:: 1.7
+.. versionchanged:: 1.7
- Cache keys use the request's fully-qualified URL rather than path
- and query string.
+ Cache keys use the request's fully-qualified URL rather than just the path
+ and query string.
To do this in Django, use the convenient
:func:`django.views.decorators.vary.vary_on_headers` view decorator, like so::