Browse Source

Fixed references to django.core.cache in docs.

Sarah Boyce 1 year ago
parent
commit
c3862735cd
3 changed files with 3 additions and 3 deletions
  1. 1 1
      docs/releases/2.1.txt
  2. 1 1
      docs/releases/3.1.txt
  3. 1 1
      docs/topics/cache.txt

+ 1 - 1
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

+ 1 - 1
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

+ 1 - 1
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: