From 0fd988204a579ed720b1ecadc7a7f5622189e09f Mon Sep 17 00:00:00 2001 From: Hugo LEVY-FALK Date: Tue, 5 Feb 2019 14:28:23 +0100 Subject: [PATCH] statics --- comet/comet/urls.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/comet/comet/urls.py b/comet/comet/urls.py index 6b4c531..a83c3b3 100644 --- a/comet/comet/urls.py +++ b/comet/comet/urls.py @@ -21,7 +21,4 @@ from django.conf import settings urlpatterns = [ path('admin/', admin.site.urls), path('', include('account.urls')), -] - -if settings.DEBUG: - urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) +] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)