diff --git a/website/urls.py b/website/urls.py index c65d781..cfc8a51 100644 --- a/website/urls.py +++ b/website/urls.py @@ -18,10 +18,8 @@ urlpatterns = [ if settings.DEBUG: from django.conf.urls.static import static - from django.contrib.staticfiles.urls import staticfiles_urlpatterns - # Serve static and media files from development server - urlpatterns += staticfiles_urlpatterns() + # Serve media files from development server urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) urlpatterns = urlpatterns + [