1👍
✅
index.html
<form action="{% url 'pixelate:pixelate' %}" method="post" enctype="multipart/form-data">
{% csrf_token %}
{{ form }}
<input type="submit" value="Submit" />
</form>
Source:stackexchange.com