/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 vote157 views1 answer
- 21 votes181 views3 answers
- 0 vote149 views1 answer
- -1 vote142 views3 answers
- -1 vote155 views1 answer
- 33 votes164 views6 answers
- 1 vote217 views1 answer
- 10 votes127 views1 answer
- 0 vote157 views2 answers
- 25 votes146 views3 answers