/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
- 5 votes294 views3 answers
- 0 vote359 views2 answers
- 26 votes338 views2 answers
- 1 vote328 views1 answer
- 5 votes313 views1 answer
- 0 vote286 views1 answer
- 1 vote255 views1 answer
- 0 vote296 views1 answer
- 0 vote308 views1 answer
- 0 vote290 views1 answer