Document the settings affecting csrf cookie
|Reported by:||wiml||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I think it would be helpful to describe the settings which affect the CSRF cookie in the csrf documentation.
Here is some text which could be appended to docs/ref/contrib/csrf.txt (modeled after the similar section in the session documentation):
Settings ======== A few :ref:`Django settings <ref-settings>` give you control over the CSRF cookie: CSRF_COOKIE_NAME ---------------- Default: ``csrftoken`` The name of the cookie to use for CSRF tokens. CSRF_COOKIE_DOMAIN ------------------ Default: ``None`` The domain to use for the CSRF cookie. See :meth:`HttpResponse.set_cookie()`.