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"