/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 vote155 views0 answer
- 0 vote281 views1 answer
- 0 vote195 views1 answer
- -1 vote255 views1 answer
- 0 vote229 views1 answer
- 6 votes236 views4 answers
- 0 vote186 views4 answers
- 32 votes410 views3 answers
- 0 vote191 views1 answer
- 1 vote241 views1 answer