mirror of
https://github.com/django/django.git
synced 2025-11-25 13:13:28 +00:00
Fixed #35401 -- Documented the conditional_page() decorator.
This commit is contained in:
parent
708b01c795
commit
e2428292ab
2 changed files with 8 additions and 0 deletions
|
|
@ -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
|
||||
-----------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue