From ea9083f4c5cdd7cab2786f90af658afc497866c2 Mon Sep 17 00:00:00 2001 From: mpeltriaux Date: Mon, 13 Mar 2023 06:54:32 +0100 Subject: [PATCH] POST form error fix * increases threshold for max upload memory size from 2.5MB to 5MB --- konova/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/konova/settings.py b/konova/settings.py index dfd6195a..18a5b818 100644 --- a/konova/settings.py +++ b/konova/settings.py @@ -20,6 +20,8 @@ from konova.sub_settings.table_settings import * from konova.sub_settings.lanis_settings import * from konova.sub_settings.wfs_parcel_settings import * +# Max upload size for POST forms +DATA_UPLOAD_MAX_MEMORY_SIZE = 5242880 # ALLOWED FILE UPLOAD DEFINITIONS # Default: Upload into upper folder of code