diff --git a/core/templates/core/base.jinja b/core/templates/core/base.jinja index ea251677..93c63f3e 100644 --- a/core/templates/core/base.jinja +++ b/core/templates/core/base.jinja @@ -10,20 +10,21 @@ - - + + + - + - + {% 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 %}