[static assets] finally bloddy django finds and serves pico.min.css

also includes a favicon because the browser kept asking for one
This commit is contained in:
bronsen 2025-03-18 22:55:09 +01:00
parent 7028a03f5c
commit 2b7e478a40
5 changed files with 17 additions and 4 deletions

View file

@ -16,13 +16,14 @@ Including another URLconf
"""
from django.conf import settings
from django.conf.urls.static import static
from django.contrib import admin
from django.urls import include, path
urlpatterns = [
path("", include("collector.urls")),
path("admin/", admin.site.urls),
]
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
if settings.DEBUG:
from debug_toolbar.toolbar import debug_toolbar_urls