Django - Error importing storages.backends

后端 未结 4 760
名媛妹妹
名媛妹妹 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条回答
  •  自闭症患者
    2021-01-12 04:15

    I had this same issue, but for me it turns out that despite django-storages being installed, boto was not. A simple pip install boto fixed the error in my scenario.

提交回复
热议问题