1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #30594 -- Added 'private' Cache-Control directive to never_cache() decorator.

This commit is contained in:
nsasaki128
2019-06-25 15:15:00 +09:00
committed by Mariusz Felisiak
parent 8454f6dea4
commit a289e79679
5 changed files with 18 additions and 7 deletions

View File

@@ -167,7 +167,9 @@ Minor features
Cache
~~~~~
* ...
* :func:`~django.utils.cache.add_never_cache_headers` and
:func:`~django.views.decorators.cache.never_cache` now adds ``private``
directive to a ``Cache-Control`` header.
CSRF
~~~~