From 819bd20fdf64442ef3deb4159a123c1c6623dfa3 Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Mon, 24 Apr 2023 09:07:30 +0200 Subject: [PATCH] Fix file uploads (borken by missing enctype on form) --- nummi/main/templates/main/form/base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nummi/main/templates/main/form/base.html b/nummi/main/templates/main/form/base.html index def3515..65c6f6e 100644 --- a/nummi/main/templates/main/form/base.html +++ b/nummi/main/templates/main/form/base.html @@ -34,7 +34,7 @@ {% endif %} {% block pre %}{% endblock %} -
+ {% csrf_token %} {% if instance|adding %}{% endif %} {{ form }}