You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This feature will be enabled by presence of django.middleware.csrf.CsrfViewMiddleware in settings.MIDDLEWARE_CLASSES and the settings.CSRF_HEADER_NAMEX-CSRFToken will be used for the name attribute.
Support for settings.CSRF_HEADER_NAME will be added with release of Django 1.9.
The text was updated successfully, but these errors were encountered:
A generated CSRF token will be passed into a
meta
tag, like this:This feature will be enabled by presence of
django.middleware.csrf.CsrfViewMiddleware
insettings.MIDDLEWARE_CLASSES
and thesettings.CSRF_HEADER_NAME
X-CSRFToken
will be used for thename
attribute.Support for
settings.CSRF_HEADER_NAME
will be added with release of Django 1.9.The text was updated successfully, but these errors were encountered: