This commit is contained in:
Andrew-Chen-Wang 2021-03-22 23:12:35 -04:00
parent ac814e5cd4
commit f02b7f57a2
4 changed files with 6 additions and 5 deletions

2
.coveragerc Normal file
View file

@ -0,0 +1,2 @@
[run]
omit = */tests/*

View file

@ -5,6 +5,7 @@ Whats new in django-cachalot?
-----
- Fix bug with externally invalidated cache keys (#120)
- Omit test files in coverage
2.3.3
-----

View file

@ -1,4 +1,4 @@
VERSION = (2, 3, 3)
VERSION = (2, 3, 4)
__version__ = '.'.join(map(str, VERSION))
default_app_config = 'cachalot.apps.CachalotConfig'
default_app_config = "cachalot.apps.CachalotConfig"

View file

@ -139,9 +139,7 @@ def cachalot_disabled(all_queries=False):
Context manager for temporarily disabling cachalot.
If you evaluate the same queryset a second time,
like normally for Django querysets, this will access
the variable that saved it in-memory.
For example:
the variable that saved it in-memory. For example:
.. code-block:: python