Undocumented
Function | csrf_exempt |
Mark a view function as being exempt from the CSRF view protection. |
Variable | csrf_protect |
This decorator adds CSRF protection in exactly the same way as CsrfViewMiddleware, but it can be used on a per view basis. Using both, or using the decorator multiple times, is harmless and efficient. |
Variable | ensure_csrf_cookie |
Use this decorator to ensure that a view sets a CSRF cookie, whether or not it uses the csrf_token template tag, or the CsrfViewMiddleware is used. |
Variable | requires_csrf_token |
Use this decorator on views that need a correct csrf_token available to RequestContext, but without the CSRF protection that csrf_protect enforces. |
Class | _EnsureCsrfCookie |
Undocumented |
Class | _EnsureCsrfToken |
Undocumented |