Add missing enctype to form with file uploads

This commit is contained in:
Kumi 2021-01-01 17:48:12 +01:00
parent c4f2479f4c
commit 4784185e99

View file

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