Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed doc indentation in previous commit.

  • Loading branch information...
commit 81a5e35c8d357051e558e6f0d1b6ff7a7523a537 1 parent 71a03e0
@timgraham timgraham authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 docs/topics/cache.txt
View
6 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::
Please sign in to comment.
Something went wrong with that request. Please try again.