Django - Error importing storages.backends

后端 未结 4 654
名媛妹妹
名媛妹妹 2021-01-12 03:36

I have created a custom storage backend, the file is called storages.py and is placed in an app called core:

from django.conf impor         


        
4条回答
  •  -上瘾入骨i
    2021-01-12 04:24

    Typo error. Change:

    DEFAULT_FILE_STORAGE = 'storages.backends.s3boto.S3BotoStorage'

    TO:

    DEFAULT_FILE_STORAGE = 'storages.backends.s3boto.S3Boto3Storage'

提交回复
热议问题