13 ms·
In terms of the error page, you can modify the CSRF error page by setting CSRF_FAILURE_VIEW: https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-CS
by huxley 15y ago
In terms of the error page, you can modify the CSRF error page by setting CSRF_FAILURE_VIEW:
https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-CSRF_FAILURE_VIEW https://docs.djangoproject.com/en/dev/ref/settings/#std:sett...
Update: I noticed that later in the thread you mention that you already provide a custom error page. I'll leave this for others who might not be familiar with custom CSRF error pages.