django-qiniu-storage icon indicating copy to clipboard operation
django-qiniu-storage copied to clipboard

AttributeError: 'QiniuFile' object has no attribute 'name'

Open flytrap opened this issue 5 years ago • 2 comments

QiniuFile not init parent name function

flytrap avatar Dec 12 '18 03:12 flytrap

我也碰到了这个问题你解决了么

sunboy123 avatar Dec 19 '18 07:12 sunboy123

@flytrap 已解决 你得后台配置有问题 将文档中得默认 配置 DEFAULT_FILE_STORAGE = 'qiniustorage.backends.QiniuMediaStorage' 改为DEFAULT_FILE_STORAGE = 'qiniustorage.backends.QiniuStorage' 就可以了

sunboy123 avatar Dec 19 '18 08:12 sunboy123