Skip to content

Commit 58a6ee4

Browse files
committed
Increased max upload size setting in production
Now that releasers upload artifacts via the admin the file upload size limit needs to be increased.
1 parent 5774337 commit 58a6ee4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

djangoproject/settings/prod.py

+4
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,7 @@
9898
RECAPTCHA_PRIVATE_KEY = SECRETS.get("recaptcha_private_key")
9999

100100
RECAPTCHA_REQUIRED_SCORE = 0.9
101+
102+
# Release artifacts are uploaded via the admin and are about 10Mb each
103+
# The nginx configuration still restricts the upload size on most pages.
104+
DATA_UPLOAD_MAX_MEMORY_SIZE = 50 * 1024 * 1024 # 50 Mb

0 commit comments

Comments
 (0)