Skip to content

Commit

Permalink
Do not limit upload fields
Browse files Browse the repository at this point in the history
We've hit the 1000 fields limit and don't really need this DOS
prevention on a internal server. So disable it.

https://docs.djangoproject.com/en/2.2/ref/settings/#data-upload-max-number-fields
  • Loading branch information
donald committed Dec 4, 2019
1 parent 7ba760e commit 48ca009
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,3 +248,5 @@

# API
WAGTAILAPI_LIMIT_MAX = 50

DATA_UPLOAD_MAX_NUMBER_FIELDS=None

0 comments on commit 48ca009

Please sign in to comment.