renderers.py
29.4 KB
-
Added support for custom CSRF cookie names · 9d9658f1
Instead of hardcoding the CSRF cookie name, the value is passed to the template as a context variable, rendered as a JavaScript variable, and read by csrf.js. Fixes #4048
Clinton Blackburn committed