error 403 -- CSRF token missing
I'm doing from this book (I used django 1.2)
and i got error like this when i submit form
in django 1.2 you must input csrf_token in your form same
<form method="post" action=".">{% csrf_token %}
Ref. (click)
and i got error like this when i submit form
Forbidden (403)
CSRF verification failed. Request aborted.
in django 1.2 you must input csrf_token in your form same
<form method="post" action=".">{% csrf_token %}
Ref. (click)
Comments
Post a Comment