mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
[1.11.x] Fixed #28601 -- Prevented cache.get_or_set() from caching None if default is a callable that returns None.
Backport of 4d60261b2a from master
This commit is contained in:
@@ -9,4 +9,5 @@ Django 1.11.7 fixes several bugs in 1.11.6.
|
||||
Bugfixes
|
||||
========
|
||||
|
||||
* ...
|
||||
* Prevented ``cache.get_or_set()`` from caching ``None`` if the ``default``
|
||||
argument is a callable that returns ``None`` (:ticket:`28601`).
|
||||
|
||||
Reference in New Issue
Block a user