From bd41cb744e31ca40760652cbdb227732f0756694 Mon Sep 17 00:00:00 2001 From: Angelo Dini Date: Wed, 30 Oct 2024 07:59:56 +0100 Subject: [PATCH] chore: add new setting --- mysite/settings/base.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mysite/settings/base.py b/mysite/settings/base.py index e305365..f64c185 100644 --- a/mysite/settings/base.py +++ b/mysite/settings/base.py @@ -182,6 +182,11 @@ } +# Django sets a maximum of 1000 fields per form by default, but particularly complex page models +# can exceed this limit within Wagtail's page editor. +DATA_UPLOAD_MAX_NUMBER_FIELDS = 10_000 + + # Wagtail settings WAGTAIL_SITE_NAME = "mysite"