This commit is contained in:
Hugo LEVY-FALK 2019-02-05 14:28:23 +01:00
parent 8fe161a079
commit 0fd988204a

View file

@ -21,7 +21,4 @@ from django.conf import settings
urlpatterns = [ urlpatterns = [
path('admin/', admin.site.urls), path('admin/', admin.site.urls),
path('', include('account.urls')), path('', include('account.urls')),
] ] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
if settings.DEBUG:
urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)