Change my local storage with qiniu cloud storage

I try to replace my local storage with qiniu cloud storage ,

pip install django-qiniu-storage

step2:add qiniu settings in
here is my settings in /edx/edx-platform/cms/envs/

below is the result

    class VideoImage(TimeStampedModel): 
    File "/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/edxval/", line 313, in VideoImage

    image = CustomizableImageField()

    File "/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/edxval/", line 221, in __init__


    File "/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/edxval/", line 164, in get_video_image_storage

    )(**settings.VIDEO_IMAGE_SETTINGS.get('STORAGE_KWARGS', {}))

    File "/edx/app/edxapp/venvs/edxapp/lib/python3.5/site-packages/qiniustorage/", line 202, in __init__

    super(QiniuMediaStorage, self).__init__(*args, **kwargs)

    TypeError: __init__() got an unexpected keyword argument 'base_url'

does any one can telll me how to do with it?

@gao_yu, Open edX only supports S3 officially as the external object storage backend. While S3-compatible backends may work, Iā€™m not sure if they will work out of the box.

1 Like