Skip to content

Commit 9b65283

Browse files
committed
update: custom storage
1 parent ea66622 commit 9b65283

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyconkr/settings-dev.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
# DEFAULT_FILE_STORAGE = "storages.backends.s3boto3.S3Boto3Storage"
2727
# STATICFILES_STORAGE = "storages.backends.s3boto3.S3StaticStorage"
2828

29-
DEFAULT_FILE_STORAGE = MediaStorage
30-
STATICFILES_STORAGE = StaticStorage
29+
DEFAULT_FILE_STORAGE = "pyconkr.storage.MediaStorage"
30+
STATICFILES_STORAGE = "pyconkr.storage.StaticStorage"
3131

3232
AWS_S3_ACCESS_KEY_ID = os.getenv("AWS_S3_ACCESS_KEY_ID")
3333
AWS_S3_SECRET_ACCESS_KEY = os.getenv("AWS_S3_SECRET_ACCESS_KEY")

0 commit comments

Comments
 (0)