CSRF token was missing here
This commit is contained in:
parent
84516e8ec2
commit
0558d13302
|
@ -28,6 +28,7 @@
|
||||||
|
|
||||||
{% if user.is_authenticated %}
|
{% if user.is_authenticated %}
|
||||||
<form action="{% url 'trans.views.upload_translation' %}" method="post" enctype="multipart/form-data">
|
<form action="{% url 'trans.views.upload_translation' %}" method="post" enctype="multipart/form-data">
|
||||||
|
{% csrf_token %}
|
||||||
<table>
|
<table>
|
||||||
{{ form.as_table }}
|
{{ form.as_table }}
|
||||||
<tr><td></td><td><input type="submit" value="{% trans "Upload" %}" /></td></tr>
|
<tr><td></td><td><input type="submit" value="{% trans "Upload" %}" /></td></tr>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user