diff options
| author | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2023-05-22 14:02:01 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-05-22 14:02:28 +0200 |
| commit | 37ba4c3a94b0c2d3e98be11ea4ac27316efb5f5e (patch) | |
| tree | 6fd0b779a91579c85b888f1421e08ac1ac66b960 /docs | |
| parent | 6b76481fb968c3d35ee01af38a84d210c0623e62 (diff) | |
[4.2.x] Fixed references to django.core.cache in docs.
Backport of c3862735cd8c268e99fb8d54c3955aacc4f2dc25 from main
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/2.1.txt | 2 | ||||
| -rw-r--r-- | docs/releases/3.1.txt | 2 | ||||
| -rw-r--r-- | docs/topics/cache.txt | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/docs/releases/2.1.txt b/docs/releases/2.1.txt index c46475947f..e4a2788c86 100644 --- a/docs/releases/2.1.txt +++ b/docs/releases/2.1.txt @@ -115,7 +115,7 @@ Cache * The :ref:`local-memory cache backend <local-memory-caching>` now uses a 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. CSRF diff --git a/docs/releases/3.1.txt b/docs/releases/3.1.txt index 50430ec1be..cac75dcb41 100644 --- a/docs/releases/3.1.txt +++ b/docs/releases/3.1.txt @@ -263,7 +263,7 @@ Cache field names in the ``no-cache`` directive for the ``Cache-Control`` header, 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. CSRF diff --git a/docs/topics/cache.txt b/docs/topics/cache.txt index 3c3aba898d..abdbea0e0a 100644 --- a/docs/topics/cache.txt +++ b/docs/topics/cache.txt @@ -900,7 +900,7 @@ Accessing the cache Basic usage ----------- -.. currentmodule:: django.core.caches +.. currentmodule:: django.core.cache The basic interface is: |
