DjangoUeditor
DjangoUeditor copied to clipboard
文件上传和文件列表的问题
def getImagePath(model_instance=None): return 'a/' 我在model里面设置了imagePath=getImagePath,上传图片会失败,如果直接设置路径就ok的。这个是为什么? upload_settings={"imageManagerUrlPrefix":"a","imageManagerListPath":"a","imageManagerListSize":1} 这里不管我如何更改设置都不起作用,例如:图片管理里面一直是显示30个。是我漏掉了某些配置吗? 谢谢! 楼主辛苦了。