Commit Graph

2 Commits

Author SHA1 Message Date
Klaas van Schelven
d572ff3601 Fix warning on CSRF view
When the CSRF view is rendered, no RequestContext is used. This means the token
used for the logout link on the regular base.html won't work.

> UserWarning: A {% csrf_token %} was used in a template, but the context did not
> provide the value.  This is usually caused by not using RequestContext.
2025-04-09 14:12:39 +02:00
Klaas van Schelven
f2cd88032e Use verbose_csrf_middleware
this should make it so that you get the debug information right at the moment
you're experiencing the problem (rather than having to go to a special page)
2024-09-29 20:19:32 +02:00