Skip to content

Commit

Permalink
Merge pull request #27 from gip-inclusion/sreuiller/fix-bad-request-w…
Browse files Browse the repository at this point in the history
…hen-save-big-page

Correction de l'erreur "Bad request" lors l'enregistrement de grosses pages
  • Loading branch information
SebastienReuiller authored Aug 9, 2023
2 parents a9b194b + cc1b589 commit d521557
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,10 @@
# Height for custom Grist Embed
WAGTAILEMBEDS_GRIST_HEIGHT = 400

# Increase throttling to avoid Bad request errors when saving large pages
# https://docs.djangoproject.com/en/4.2/ref/settings/#data-upload-max-number-fields
DATA_UPLOAD_MAX_NUMBER_FIELDS = os.getenv("DATA_UPLOAD_MAX_NUMBER_FIELDS", 10000)

# MATOMO
# ---------------------------------------
MATOMO_SITE_ID = os.getenv("MATOMO_SITE_ID")
Expand Down

0 comments on commit d521557

Please sign in to comment.