/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 vote157 views1 answer
- 0 vote168 views1 answer
- -1 vote159 views1 answer
- 1 vote146 views2 answers
- 0 vote179 views1 answer
- 1 vote129 views1 answer
- 0 vote158 views1 answer
- 6 votes159 views1 answer
- 1 vote296 views1 answer
- 0 vote157 views1 answer