1
0
Fork 0

don't use csrf_exempt everywhere

This commit is contained in:
Mouse Reeve 2020-01-29 12:24:50 -08:00
parent f031b46b20
commit 7882bfe1ef
6 changed files with 8 additions and 12 deletions

View file

@ -6,7 +6,7 @@
<form name="avatar" action="/edit_profile/" method="post" enctype="multipart/form-data">
{% csrf_token %}
{{ form.as_p }}
<button type="submit">Upload</button>
<button type="submit">Update profile</button>
</form>
</div>
</div>