/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 vote126 views1 answer
- 21 votes120 views3 answers
- 0 vote121 views1 answer
- 0 vote137 views1 answer
- 0 vote130 views2 answers
- 0 vote133 views1 answer
- 1 vote128 views3 answers
- 0 vote167 views1 answer
- 0 vote127 views1 answer
- 0 vote90 views1 answer