소스 검색

fix class path for S3Boto3Storage (#260)

Tobias McNulty 5 년 전
부모
커밋
d5d81129a1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      bakerydemo/settings/production.py

+ 1 - 1
bakerydemo/settings/production.py

@@ -98,7 +98,7 @@ if 'AWS_STORAGE_BUCKET_NAME' in os.environ:
 
     INSTALLED_APPS.append('storages')
     MEDIA_URL = "https://%s/" % AWS_S3_CUSTOM_DOMAIN
-    DEFAULT_FILE_STORAGE = 'storages.backends.s3boto.S3Boto3Storage'
+    DEFAULT_FILE_STORAGE = 'storages.backends.s3boto3.S3Boto3Storage'
 
 if 'GS_BUCKET_NAME' in os.environ:
     GS_BUCKET_NAME = os.getenv('GS_BUCKET_NAME')