summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorRamiro Morales <cramm0@gmail.com>2013-05-30 20:38:44 -0300
committerRamiro Morales <cramm0@gmail.com>2013-05-30 20:38:44 -0300
commitac90aee55cb0258253011ec6910c1e553e07377f (patch)
tree076ef4042e5f249d217cb243c39315fbc000cb28 /docs/ref
parent9d06c6ccc92e240af245205316cf6075b37a24e3 (diff)
Tweak caching decorators/utility functions xrefs.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/request-response.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt
index 9ff97e87d0..578418b4ee 100644
--- a/docs/ref/request-response.txt
+++ b/docs/ref/request-response.txt
@@ -591,8 +591,8 @@ Note that unlike a dictionary, ``del`` doesn't raise ``KeyError`` if the header
field doesn't exist.
For setting the ``Cache-Control`` and ``Vary`` header fields, it is recommended
-to use the :meth:`~django.utils.cache.patch_cache_control` and
-:meth:`~django.utils.cache.patch_vary_headers` methods from
+to use the :func:`~django.utils.cache.patch_cache_control` and
+:func:`~django.utils.cache.patch_vary_headers` methods from
:mod:`django.utils.cache`, since these fields can have multiple, comma-separated
values. The "patch" methods ensure that other values, e.g. added by a
middleware, are not removed.