非runserver 要配置 STATIC_URL 到 STATIC_ROOT 映射
from django.conf.urls.static import static from django.conf import settings urlpatterns = [ url(r'^admin/', admin.site.urls), ] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
https://github.com/anjunact/mysite