django1/django/core/cache
Nick Pope bb64b99b78 Fixed #29867 -- Added support for storing None value in caches.
Many of the cache operations make use of the default argument to the
.get() operation to determine whether the key was found in the cache.
The default value of the default argument is None, so this results in
these operations assuming that None is not stored in the cache when it
actually is. Adding a sentinel object solves this issue.

Unfortunately the unmaintained python-memcached library does not support
a default argument to .get(), so the previous behavior is preserved for
the deprecated MemcachedCache backend.
2020-12-17 09:57:21 +01:00
..
backends Fixed #29867 -- Added support for storing None value in caches. 2020-12-17 09:57:21 +01:00
__init__.py Fixed #32193 -- Deprecated MemcachedCache. 2020-12-09 21:27:32 +01:00
utils.py Fixed #30772 -- Optimized make_template_fragment_key(). 2019-09-18 14:53:05 +02:00