在开发模式下以及使用其他服务器进行本地开发时,请将其添加到url.py
from django.contrib.staticfiles.urls import staticfiles_urlpatterns# ... the rest of your URLconf goes here ...urlpatterns += staticfiles_urlpatterns()

在开发模式下以及使用其他服务器进行本地开发时,请将其添加到url.py
from django.contrib.staticfiles.urls import staticfiles_urlpatterns# ... the rest of your URLconf goes here ...urlpatterns += staticfiles_urlpatterns()