url(r'^static/(?P<path>.*)$',django.views.static.serve,{'document_root':settings.STATIC_ROOT}),
}
本文共 155 字,大约阅读时间需要 1 分钟。
url(r'^static/(?P<path>.*)$',django.views.static.serve,{'document_root':settings.STATIC_ROOT}),
}
转载于:https://www.cnblogs.com/programmersong/p/3461270.html