{% extends "registration/base.html" %}

{% block title %}Edit {{ object.name }} - {{ block.super }}{% endblock title %}

{% block section_title %}
Edit {{ object.name }}
{% endblock section_title %}

{% block section %}

<form method="post" action="{{ object.get_edit_url }}">
  {% include "includes/form.html" with form=form %}
  <p>
    {% csrf_token %}
    <button type="submit">Update</button>
  </p>
</form>
{% endblock section %}

{% extends "registration/base.html" %}

{% block title %}Edit {{ object.name }} - {{ block.super }}{% endblock title %}

{% block section_title %}
Edit {{ object.name }}
{% endblock section_title %}

{% block section %}

<form method="post" action="{{ object.get_edit_url }}" enctype="multipart/form-data">
  {% include "includes/form.html" with form=form %}
  <p>
    {% csrf_token %}
    <button type="submit">Update</button>
  </p>
</form>
{% endblock section %}

Add missing encoding to form.
Add missing encoding to form.

https://github.com/madewithbytes/us_ignite/issues/298

The missing encoding would prevent the file to be attached
as part of the POST request.
