Fixed ReST error in docs/cache.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@813 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
df794701d0
commit
fd4ddb179f
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue