/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 vote257 views1 answer
- 2 votes257 views2 answers
- 0 vote261 views1 answer
- 0 vote241 views1 answer
- 12 votes244 views1 answer
- -2 votes349 views1 answer
- 0 vote269 views1 answer
- 0 vote249 views1 answer
- 1 vote236 views1 answer
- 5 votes245 views2 answers