Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

文件上传和文件列表的问题 #62

Open
mazelin opened this issue Nov 3, 2015 · 0 comments
Open

文件上传和文件列表的问题 #62

mazelin opened this issue Nov 3, 2015 · 0 comments

Comments

@mazelin
Copy link

mazelin commented Nov 3, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant