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

Fixed #35401 -- Documented the conditional_page() decorator.

This commit is contained in:
lufafajoshua
2024-06-12 12:26:40 +02:00
committed by Sarah Boyce
parent 708b01c795
commit e2428292ab
2 changed files with 8 additions and 0 deletions

View File

@@ -63,6 +63,11 @@ control caching behavior on particular views.
.. function:: condition(etag_func=None, last_modified_func=None)
.. function:: conditional_page()
This decorator provides the conditional GET operation handling of
:class:`~django.middleware.http.ConditionalGetMiddleware` to a view.
.. function:: etag(etag_func)
.. function:: last_modified(last_modified_func)