From e2428292abaca4758a7508175d31667fe2dff57c Mon Sep 17 00:00:00 2001 From: lufafajoshua <77637648+lufafajoshua@users.noreply.github.com> Date: Wed, 12 Jun 2024 12:26:40 +0200 Subject: Fixed #35401 -- Documented the conditional_page() decorator. --- docs/ref/middleware.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/ref') diff --git a/docs/ref/middleware.txt b/docs/ref/middleware.txt index d899922dc1..c762457839 100644 --- a/docs/ref/middleware.txt +++ b/docs/ref/middleware.txt @@ -153,6 +153,9 @@ header, the middleware adds one if needed. If the response has an ``ETag`` or ``If-Modified-Since``, the response is replaced by an :class:`~django.http.HttpResponseNotModified`. +You can handle conditional GET operations with individual views using the +:func:`~django.views.decorators.http.conditional_page()` decorator. + Locale middleware ----------------- -- cgit v1.3