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

Removed hardcoded docs version in csrf template.

This commit is contained in:
Ryan Hiebert
2024-05-18 04:30:12 -05:00
committed by Sarah Boyce
parent 0b33a3abc2
commit c201014e85
2 changed files with 13 additions and 1 deletions

View File

@@ -53,7 +53,7 @@
<li>Your browser is accepting cookies.</li>
<li>The view function passes a <code>request</code> to the templates <a
href="https://docs.djangoproject.com/en/dev/topics/templates/#django.template.backends.base.Template.render"><code>render</code></a>
href="https://docs.djangoproject.com/en/{{ docs_version }}/topics/templates/#django.template.backends.base.Template.render"><code>render</code></a>
method.</li>
<li>In the template, there is a <code>{% templatetag openblock %} csrf_token