multipart/form-data by default

This commit is contained in:
Ales (Shagi) Zabala Alava 2021-03-23 17:57:32 +01:00
parent bf3cf6f217
commit 8b23a92d2b
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
{% load form_tags %} {% load form_tags %}
{% block content %} {% block content %}
<form action="." method="POST">{% csrf_token %} <form action="." method="POST" enctype="multipart/form-data">{% csrf_token %}
{% if is_popup %} {% if is_popup %}
<input type="hidden" name="_popup" value="1"> <input type="hidden" name="_popup" value="1">
{% endif %} {% endif %}