Loading docs/ref/settings.txt +7 −0 Original line number Diff line number Diff line Loading @@ -148,6 +148,9 @@ The default number of seconds to cache a page when the caching middleware or CSRF_COOKIE_NAME ---------------- .. versionadded:: 1.2 Default: ``'csrftoken'`` The name of the cookie to use for the CSRF authentication token. This can be whatever you Loading @@ -158,6 +161,8 @@ want. See :ref:`ref-contrib-csrf`. CSRF_COOKIE_DOMAIN ------------------ .. versionadded:: 1.2 Default: ``None`` The domain to be used when setting the CSRF cookie. This can be useful for Loading @@ -171,6 +176,8 @@ accepted by accepted by a view served from another subdomain. CSRF_FAILURE_VIEW ----------------- .. versionadded:: 1.2 Default: ``'django.views.csrf.csrf_failure'`` A dotted path to the view function to be used when an incoming request Loading Loading
docs/ref/settings.txt +7 −0 Original line number Diff line number Diff line Loading @@ -148,6 +148,9 @@ The default number of seconds to cache a page when the caching middleware or CSRF_COOKIE_NAME ---------------- .. versionadded:: 1.2 Default: ``'csrftoken'`` The name of the cookie to use for the CSRF authentication token. This can be whatever you Loading @@ -158,6 +161,8 @@ want. See :ref:`ref-contrib-csrf`. CSRF_COOKIE_DOMAIN ------------------ .. versionadded:: 1.2 Default: ``None`` The domain to be used when setting the CSRF cookie. This can be useful for Loading @@ -171,6 +176,8 @@ accepted by accepted by a view served from another subdomain. CSRF_FAILURE_VIEW ----------------- .. versionadded:: 1.2 Default: ``'django.views.csrf.csrf_failure'`` A dotted path to the view function to be used when an incoming request Loading