Commit e3510a5c authored by impfundev's avatar impfundev

fix: project urls

parent 1e5a523b
...@@ -17,9 +17,8 @@ Including another URLconf ...@@ -17,9 +17,8 @@ Including another URLconf
from django.contrib import admin from django.contrib import admin
from django.urls import path from django.urls import path
from django.conf.urls import include, static from django.conf.urls import include
from dashboards.views import home from dashboards.views import home
from django.conf import settings
urlpatterns = [ urlpatterns = [
path("", home, name="homepage"), path("", home, name="homepage"),
...@@ -27,6 +26,3 @@ urlpatterns = [ ...@@ -27,6 +26,3 @@ urlpatterns = [
path("admin/", admin.site.urls), path("admin/", admin.site.urls),
path("auth/", include("authentications.urls")), path("auth/", include("authentications.urls")),
] ]
if settings.DEBUG:
urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment