diff options
Diffstat (limited to 'docs/ref/csrf.txt')
| -rw-r--r-- | docs/ref/csrf.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/ref/csrf.txt b/docs/ref/csrf.txt index 583f78472c..d52539e6b6 100644 --- a/docs/ref/csrf.txt +++ b/docs/ref/csrf.txt @@ -150,6 +150,10 @@ class-based views<decorating-class-based-views>`. def my_view(request): return HttpResponse("Hello world") + .. versionchanged:: 5.0 + + Support for wrapping asynchronous view functions was added. + .. function:: csrf_protect(view) Decorator that provides the protection of ``CsrfViewMiddleware`` to a view. |
