From dba05042dd252a1bb3386a5b40a530d2ad778d13 Mon Sep 17 00:00:00 2001 From: alexgmin Date: Fri, 26 Apr 2024 14:20:36 +0200 Subject: [PATCH] Added link to the csrf template tag in the csrf page. --- docs/ref/csrf.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref/csrf.txt b/docs/ref/csrf.txt index 12a14091d03..8712f27b7e7 100644 --- a/docs/ref/csrf.txt +++ b/docs/ref/csrf.txt @@ -43,7 +43,7 @@ The CSRF protection is based on the following things: a mask. The mask is generated randomly on every call to ``get_token()``, so the form field value is different each time. - This part is done by the template tag. + This part is done by the :ttag:`csrf_token` template tag. #. For all incoming requests that are not using HTTP GET, HEAD, OPTIONS or TRACE, a CSRF cookie must be present, and the 'csrfmiddlewaretoken' field