Answer by Adrián for Django Login App Returning 403 Forbidden, CSRF Issues
Add {% csrf_token %}inside your form. It will be replaced by a hidden input with a key. Step by step documentation. Concept explanation.
View ArticleDjango Login App Returning 403 Forbidden, CSRF Issues
I'm using this tutorial to try out creating a django login application (super simple stuff...) This is the code I end up with in my template (index.html) <div id="login-box"> {{ state }}...
View Article