Quantcast
Channel: Django Login App Returning 403 Forbidden, CSRF Issues - Stack Overflow
Browsing all 2 articles
Browse latest View live

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 Article



Django 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
Browsing all 2 articles
Browse latest View live


Latest Images