1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Refs #31949 -- Made @no_append_slash decorator to work with async functions.

This commit is contained in:
Ben Lomax
2023-05-19 21:14:32 +08:00
committed by Mariusz Felisiak
parent e5c844d6f2
commit 23abec9192
5 changed files with 58 additions and 5 deletions

View File

@@ -237,6 +237,7 @@ Decorators
* :func:`~django.views.decorators.cache.cache_control`
* :func:`~django.views.decorators.cache.never_cache`
* :func:`~django.views.decorators.common.no_append_slash`
* ``xframe_options_deny()``
* ``xframe_options_sameorigin()``
* ``xframe_options_exempt()``