/Python/Urlpatterns += static(r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.STATIC_ROOT})
Urlpatterns += static(r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.STATIC_ROOT})
Urlpatterns += static(r'^static/(?P.*)$', 'django.views.static.serve', {'document_root': settings.STATIC_ROOT})
2
Source: stackoverflow.com
- 0 vote267 views1 answer
- 0 vote281 views1 answer
- 0 vote273 views1 answer
- 37 votes263 views3 answers
- 8 votes262 views2 answers
- 0 vote262 views1 answer
- 9 votes291 views4 answers
- 1 vote283 views1 answer
- 1 vote285 views1 answer
- 1 vote241 views1 answer