Skip to content

Commit 336c03e

Browse files
committed
fix: 업로드 파일 사이즈 제한을 높임
1 parent 4342e5c commit 336c03e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/core/settings.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,9 @@
257257
STATIC_ROOT = BASE_DIR / "static"
258258
MEDIA_ROOT = BASE_DIR / "media"
259259

260+
DATA_UPLOAD_MAX_MEMORY_SIZE = 30 * 1024 * 1024 # 30 MB
261+
FILE_UPLOAD_MAX_MEMORY_SIZE = 30 * 1024 * 1024 # 30 MB
262+
260263
DEFAULT_STORAGE_BACKEND = env("DJANGO_DEFAULT_STORAGE_BACKEND", default="storages.backends.s3.S3Storage")
261264
STATIC_STORAGE_BACKEND = env("DJANGO_STATIC_STORAGE_BACKEND", default="storages.backends.s3.S3Storage")
262265

0 commit comments

Comments
 (0)