/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 vote258 views1 answer
- 0 vote283 views1 answer
- 51 votes258 views4 answers
- 18 votes256 views3 answers
- 1 vote231 views1 answer
- 3 votes267 views2 answers
- 9 votes230 views2 answers
- 1 vote283 views1 answer
- 0 vote249 views1 answer
- 0 vote266 views1 answer