diff --git a/core/templates/core/base.jinja b/core/templates/core/base.jinja index 93c63f3e..29d3aeb9 100644 --- a/core/templates/core/base.jinja +++ b/core/templates/core/base.jinja @@ -15,16 +15,16 @@ - + - + {% endblock %} - {# The token is always passed here to be accessible from the dom #} - {# See this workaround https://docs.djangoproject.com/en/2.0/ref/csrf/#acquiring-the-token-if-csrf-use-sessions-is-true #} + + {% csrf_token %} {% block header %}