diff --git a/djangorota/djangorota/settings.py b/djangorota/djangorota/settings.py index 5bc07de..1163d21 100644 --- a/djangorota/djangorota/settings.py +++ b/djangorota/djangorota/settings.py @@ -121,9 +121,11 @@ USE_TZ = True # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/6.0/howto/static-files/ -STATIC_URL = "static/" -# Project-level output directory (app-level) plus repo-level `output` for legacy layout +STATIC_URL = "/static/" +# Project-level static directories so the dev server serves files from these locations. +# Include the repository `static/` (project-level) and legacy `output/` directories. STATICFILES_DIRS = [ + BASE_DIR / "static", BASE_DIR / "output", # also look for output/ at the repository root (BASE_DIR.parent) BASE_DIR.parent / "output", diff --git a/djangorota/djangorota/templates/base.html b/djangorota/djangorota/templates/base.html index 75f5eb9..2e515dd 100644 --- a/djangorota/djangorota/templates/base.html +++ b/djangorota/djangorota/templates/base.html @@ -6,6 +6,15 @@