settings: increase DATA_UPLOAD_MAX_NUMBER_FIELDS (#38824)

This commit is contained in:
Thomas NOËL 2020-01-07 17:08:21 +01:00
parent 2f85a20ed0
commit fcd1c46005
1 changed files with 3 additions and 0 deletions

View File

@ -182,6 +182,9 @@ REQUESTS_TIMEOUT = 28
# set the following variable True disables "cron" management command
DISABLE_CRON_JOBS = False
# w.c.s. can have very large forms, in backoffice and frontoffice
DATA_UPLOAD_MAX_NUMBER_FIELDS = 2000 # Django default is 1000
local_settings_file = os.environ.get('WCS_SETTINGS_FILE',
os.path.join(os.path.dirname(__file__), 'local_settings.py'))
if os.path.exists(local_settings_file):