Add missing enctype to form with file uploads

This commit is contained in:
Kumi 2021-01-01 17:48:12 +01:00
parent 69ecb4640f
commit 192af2eb84

View file

@ -15,7 +15,7 @@
<h6 class="m-0 font-weight-bold text-primary">Edit {{ object.name }}</h6>
</div>
<div class="card-body">
<form action="" method="POST">
<form action="" method="POST" enctype="multipart/form-data">
{% csrf_token %}
<div class="table-responsive">
<table>