1
0
mirror of https://github.com/django/django.git synced 2024-12-25 02:26:12 +00:00

Fixed #14781 - Setting "CACHE_PREFIX" should be "CACHE_KEY_PREFIX". Thanks to adamv for report and patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14713 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Timo Graham 2010-11-26 13:38:39 +00:00
parent 6a32e253f6
commit 3cbaf3c2b6

View File

@ -155,6 +155,18 @@ argument signature.
See the :ref:`cache documentation <cache_key_transformation>` for more information. See the :ref:`cache documentation <cache_key_transformation>` for more information.
.. setting:: CACHE_KEY_PREFIX
CACHE_KEY_PREFIX
----------------
Default: ``''`` (Empty string)
A string that will be automatically included (prepended by default) to
all cache keys used by the Django server.
See the :ref:`cache documentation <cache_key_prefixing>` for more information.
.. setting:: CACHE_MIDDLEWARE_ANONYMOUS_ONLY .. setting:: CACHE_MIDDLEWARE_ANONYMOUS_ONLY
CACHE_MIDDLEWARE_ANONYMOUS_ONLY CACHE_MIDDLEWARE_ANONYMOUS_ONLY
@ -194,18 +206,6 @@ The default number of seconds to cache a page when the caching middleware or
See :doc:`/topics/cache`. See :doc:`/topics/cache`.
.. setting:: CACHE_PREFIX
CACHE_PREFIX
------------
Default: ``''`` (Empty string)
A string that will be automatically included (prepended by default) to
all cache keys used by the Django server.
See the :ref:`cache documentation <cache_key_prefixing>` for more information.
.. setting:: CACHE_VERSION .. setting:: CACHE_VERSION
CACHE_VERSION CACHE_VERSION