diff options
| author | Ryan Hiebert <ryan@ryanhiebert.com> | 2024-05-18 04:30:12 -0500 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2024-05-21 11:03:39 +0200 |
| commit | c201014e85f321173a018914e148734f29f1e28b (patch) | |
| tree | a78433d1eb5720de4d322417c037134386872fc0 /django | |
| parent | 0b33a3abc2ca7d68a24f6d0772bc2b9fa603744e (diff) | |
Removed hardcoded docs version in csrf template.
Diffstat (limited to 'django')
| -rw-r--r-- | django/views/templates/csrf_403.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/views/templates/csrf_403.html b/django/views/templates/csrf_403.html index 42fea9911b..ee81b04bcc 100644 --- a/django/views/templates/csrf_403.html +++ b/django/views/templates/csrf_403.html @@ -53,7 +53,7 @@ <li>Your browser is accepting cookies.</li> <li>The view function passes a <code>request</code> to the template’s <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 |
