url(r'^uploads/(?P<path>.*)$',include("django.views.static.serve",{"document_root":settings.MEDIA_ROOT})),Django 版本1.10 运行出错 显示view must be a callable or a list/tuple in the case of include().等我重新加载include后 运行显示No module named serve 但是serve本身不就是Django自带的库吗?
添加回答
举报
0/150
提交
取消