Closed MrLightningBolt closed 3 years ago
This is a small change to the CSRF middleware to make the form input name configurable. This is helpful because it makes it easy to make the CSRF protection compatible with JS that's hardcoded to work with the CSRF protection built into e.g. Django.
Thanks!
This is a small change to the CSRF middleware to make the form input name configurable. This is helpful because it makes it easy to make the CSRF protection compatible with JS that's hardcoded to work with the CSRF protection built into e.g. Django.