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)