/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
- 83 votes110 views6 answers
- 11 votes104 views2 answers
- 0 vote105 views1 answer
- 0 vote134 views1 answer
- 0 vote108 views1 answer
- 33 votes134 views4 answers
- 1 vote106 views1 answer
- 0 vote114 views1 answer
- 0 vote114 views1 answer
- 0 vote115 views1 answer