/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 vote178 views1 answer
- 0 vote205 views1 answer
- 0 vote171 views1 answer
- 2 votes182 views2 answers
- 1 vote178 views1 answer
- 2 votes180 views1 answer
- 1 vote239 views1 answer
- 4 votes199 views2 answers
- 0 vote180 views1 answer
- 1 vote145 views1 answer