mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #30759 -- Made cache.delete() return whether it succeeded.
Thanks Simon Charette for the review.
This commit is contained in:
committed by
Mariusz Felisiak
parent
6e99585c19
commit
efc3e32d6d
@@ -118,6 +118,9 @@ Cache
|
||||
field names in the ``no-cache`` directive for the ``Cache-Control`` header,
|
||||
according to :rfc:`7234#section-5.2.2.2`.
|
||||
|
||||
* :meth:`~django.core.caches.cache.delete` now returns ``True`` if the key was
|
||||
successfully deleted, ``False`` otherwise.
|
||||
|
||||
CSRF
|
||||
~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user