From a840710e1e38bc9e55412bb36eca92eff94ebd2c Mon Sep 17 00:00:00 2001 From: Denis Cornehl Date: Sun, 3 Apr 2016 12:15:10 +0200 Subject: Fixed #26447 -- Deprecated settings.USE_ETAGS in favor of ConditionalGetMiddleware. --- docs/ref/utils.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/ref/utils.txt') diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt index a9072f9442..45ffd80fc4 100644 --- a/docs/ref/utils.txt +++ b/docs/ref/utils.txt @@ -65,6 +65,11 @@ need to distinguish caches by the ``Accept-language`` header. In older versions, the ``Last-Modified`` header was also set. + .. deprecated:: 1.11 + + Since the ``USE_ETAGS`` setting is deprecated, this function won't set + the ``ETag`` header when the deprecation ends in Django 2.1. + .. function:: add_never_cache_headers(response) Adds a ``Cache-Control: max-age=0, no-cache, no-store, must-revalidate`` -- cgit v1.3