Remove unnecessary static path
This is handled by whitenoise
This commit is contained in:
parent
b195ae2a62
commit
e96bb4c903
1 changed files with 1 additions and 3 deletions
|
@ -18,10 +18,8 @@ urlpatterns = [
|
||||||
|
|
||||||
if settings.DEBUG:
|
if settings.DEBUG:
|
||||||
from django.conf.urls.static import static
|
from django.conf.urls.static import static
|
||||||
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
|
|
||||||
|
|
||||||
# Serve static and media files from development server
|
# Serve media files from development server
|
||||||
urlpatterns += staticfiles_urlpatterns()
|
|
||||||
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
||||||
|
|
||||||
urlpatterns = urlpatterns + [
|
urlpatterns = urlpatterns + [
|
||||||
|
|
Loading…
Reference in a new issue