1
0
mirror of https://github.com/django/django.git synced 2025-02-28 19:44:35 +00:00

[4.2.x] Fixed references to django.core.cache in docs.

Backport of c3862735cd8c268e99fb8d54c3955aacc4f2dc25 from main
This commit is contained in:
Sarah Boyce 2023-05-22 14:02:01 +02:00 committed by Mariusz Felisiak
parent 6b76481fb9
commit 37ba4c3a94
3 changed files with 3 additions and 3 deletions

View File

@ -115,7 +115,7 @@ Cache
* The :ref:`local-memory cache backend <local-memory-caching>` now uses a * The :ref:`local-memory cache backend <local-memory-caching>` now uses a
least-recently-used (LRU) culling strategy rather than a pseudo-random one. least-recently-used (LRU) culling strategy rather than a pseudo-random one.
* The new :meth:`~django.core.caches.cache.touch` method of the :ref:`low-level * The new :meth:`~django.core.cache.cache.touch` method of the :ref:`low-level
cache API <low-level-cache-api>` updates the timeout of cache keys. cache API <low-level-cache-api>` updates the timeout of cache keys.
CSRF CSRF

View File

@ -263,7 +263,7 @@ Cache
field names in the ``no-cache`` directive for the ``Cache-Control`` header, field names in the ``no-cache`` directive for the ``Cache-Control`` header,
according to :rfc:`7234#section-5.2.2.2`. according to :rfc:`7234#section-5.2.2.2`.
* :meth:`~django.core.caches.cache.delete` now returns ``True`` if the key was * :meth:`~django.core.cache.cache.delete` now returns ``True`` if the key was
successfully deleted, ``False`` otherwise. successfully deleted, ``False`` otherwise.
CSRF CSRF

View File

@ -900,7 +900,7 @@ Accessing the cache
Basic usage Basic usage
----------- -----------
.. currentmodule:: django.core.caches .. currentmodule:: django.core.cache
The basic interface is: The basic interface is: