From 0c8cdda65499bf63a9d0261b8821a85f82c111f4 Mon Sep 17 00:00:00 2001 From: Alexander Schepanovski Date: Tue, 12 Mar 2024 12:05:02 +0700 Subject: [PATCH] Fix typos --- CHANGELOG | 2 +- README.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 5d0ec423..16ad9930 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -142,7 +142,7 @@ Backwards incompatible changes: - .iterator() is never cached now - invalidate_all() works immediately even in transaction - @cached_as(timeout=0) no longer means timeout is ignored/derived from querysets, - user timeout=None instead. + use timeout=None instead. 3.2.1 - fixed CACHEOPS_DEGRADE_ON_FAILURE=True diff --git a/README.rst b/README.rst index 186a5958..fc671b6b 100644 --- a/README.rst +++ b/README.rst @@ -767,7 +767,7 @@ CAVEATS more granular. 2. Conditions on TextFields, FileFields and BinaryFields don't make it either. One should not test on their equality anyway. See `CACHEOPS_SKIP_FIELDS` though. -3. Update of "selected_related" object does not invalidate cache for queryset. +3. Update of "select_related" object does not invalidate cache for queryset. Use ``.prefetch_related()`` instead. 4. Mass updates don't trigger invalidation by default. But see ``.invalidated_update()``. 5. Sliced queries are invalidated as non-sliced ones.