Skip to content

Commit

Permalink
Raise max fields (#818)
Browse files Browse the repository at this point in the history
fix(templates): raise the maximum number of fields for the data upload
  • Loading branch information
JohnL17 authored Aug 15, 2024
1 parent 9283606 commit bbbb82b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions document_merge_service/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,3 +300,8 @@ def parse_admins(admins):

# App specific arguments for the extension classes
EXTENSIONS_ARGUMENTS = env.dict("EXTENSIONS_ARGUMENTS", default={})

# DMS potentially uses a large number of fields when creating templates due to
# the possibility to validate a template against available placeholders.
# https://docs.djangoproject.com/en/5.1/ref/settings/#data-upload-max-number-fields
DATA_UPLOAD_MAX_NUMBER_FIELDS = env.int("DATA_UPLOAD_MAX_NUMBER_FIELDS", default=1000)

0 comments on commit bbbb82b

Please sign in to comment.