/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 vote200 views1 answer
- 0 vote219 views1 answer
- -1 vote203 views1 answer
- 0 vote199 views1 answer
- 0 vote214 views1 answer
- 1 vote192 views1 answer
- 0 vote188 views1 answer
- 0 vote208 views1 answer
- 0 vote215 views1 answer
- 7 votes211 views2 answers