don't use csrf_exempt everywhere
This commit is contained in:
parent
f031b46b20
commit
7882bfe1ef
6 changed files with 8 additions and 12 deletions
|
@ -3,6 +3,7 @@
|
|||
<div id="content">
|
||||
<div>
|
||||
<form name="login" method="post">
|
||||
{% csrf_token %}
|
||||
{{ login_form.as_p }}
|
||||
<button type="submit">Log in</button>
|
||||
</form>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue