django如何映射css,js等文件1
障碍一:url( r'^static/(?P<path>.*)$', 'django.views.static.serve',{ 'document_root': settings.STATIC_URL }), 报错:view must be a callable or a list.tuple in the case of include()解决方案:from django.views.stati
原创
2017-11-06 18:28:33 ·
380 阅读 ·
0 评论