Enabling mulitple image upload in 1 form

This commit is contained in:
Leonhard Strohmidel
2020-07-30 14:15:28 +02:00
parent c8380a0073
commit 4e9f916169
2 changed files with 15 additions and 4 deletions

View File

@@ -6,7 +6,7 @@
{% block maincontent %}
<h2>Place erstellen</h2>
<form method="post">
<form method="post" enctype="multipart/form-data">
{% csrf_token %}
{{ place_form.as_p }}
{{ place_image_form.as_p }}