{% extends 'base.html' %}

{% block content %}

<form action="" method="post">
    {% csrf_token %}
    {{ form.as_p }}
    <input class="b ph3 br3 pv2 input-reset ba b--black bg-red white grow pointer f6" id="submit-id-submit" type="submit" value="Confirm" />
</form>

{% endblock content %}

{% extends 'base.html' %}

{% block content %}

<form action="" method="post" enctype="multipart/form-data">
    {% csrf_token %}
    {{ form.as_p }}
    <input class="b ph3 br3 pv2 input-reset ba b--black bg-red white grow pointer f6" id="submit-id-submit" type="submit" value="Confirm" />
</form>

{% endblock content %}

Make file upload work in model form
Fix: Make file upload work in model form

The encryption type has to be set to e.g. "multipart/form-data".

Close: #239
Close: #245
