add csrf token
This commit is contained in:
parent
e9703a0e93
commit
a255c92198
@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
{% block article_body %}
|
{% block article_body %}
|
||||||
<form method="POST" action=".">
|
<form method="POST" action=".">
|
||||||
|
{% csrf_token %}
|
||||||
<ul>
|
<ul>
|
||||||
<li>{{form.body}}</li>
|
<li>{{form.body}}</li>
|
||||||
<li>{{form.comment.label_tag}} {{ form.comment }} </li>
|
<li>{{form.comment.label_tag}} {{ form.comment }} </li>
|
||||||
|
Loading…
Reference in New Issue
Block a user