Skip to content

Commit

Permalink
Mention CACHEOPS_SKIP_FIELDS in README
Browse files Browse the repository at this point in the history
  • Loading branch information
Suor committed Aug 6, 2020
1 parent 7521c76 commit 48641c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ CAVEATS
1. Conditions other than ``__exact``, ``__in`` and ``__isnull=True`` don't make invalidation
more granular.
2. Conditions on TextFields, FileFields and BinaryFields don't make it either.
One should not test on their equality anyway.
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.
Use ``.prefetch_related()`` instead.
4. Mass updates don't trigger invalidation by default. But see ``.invalidated_update()``.
Expand Down

0 comments on commit 48641c9

Please sign in to comment.