summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralexgmin <alexgmin@gmail.com>2024-04-26 14:20:36 +0200
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2024-05-06 13:25:30 +0200
commitdba05042dd252a1bb3386a5b40a530d2ad778d13 (patch)
tree4d6f36be3b98dcef1b2d3f2c69f391a40347502a
parent6345a6ff63a8b8af86ee9a025e29984a410c9764 (diff)
Added link to the csrf template tag in the csrf page.
-rw-r--r--docs/ref/csrf.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/csrf.txt b/docs/ref/csrf.txt
index 12a14091d0..8712f27b7e 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