We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4342e5c commit 336c03eCopy full SHA for 336c03e
app/core/settings.py
@@ -257,6 +257,9 @@
257
STATIC_ROOT = BASE_DIR / "static"
258
MEDIA_ROOT = BASE_DIR / "media"
259
260
+DATA_UPLOAD_MAX_MEMORY_SIZE = 30 * 1024 * 1024 # 30 MB
261
+FILE_UPLOAD_MAX_MEMORY_SIZE = 30 * 1024 * 1024 # 30 MB
262
+
263
DEFAULT_STORAGE_BACKEND = env("DJANGO_DEFAULT_STORAGE_BACKEND", default="storages.backends.s3.S3Storage")
264
STATIC_STORAGE_BACKEND = env("DJANGO_STATIC_STORAGE_BACKEND", default="storages.backends.s3.S3Storage")
265
0 commit comments