From aec59990a778f639e91e83a791dca88521aefad5 Mon Sep 17 00:00:00 2001 From: Welton Moura Date: Sun, 5 Apr 2026 12:07:06 -0300 Subject: [PATCH] fix: update STATIC_URL to use an absolute path for correct static file resolution --- gestaoRaul/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestaoRaul/settings.py b/gestaoRaul/settings.py index 8c39867..7213c2e 100644 --- a/gestaoRaul/settings.py +++ b/gestaoRaul/settings.py @@ -164,7 +164,7 @@ DATE_FORMAT = "d/m/Y - H:M" # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/5.1/howto/static-files/ -STATIC_URL = "static/" +STATIC_URL = "/static/" STATICFILES_DIRS = (os.path.join(BASE_DIR, "templates/static"),) STATIC_ROOT = os.path.join(BASE_DIR, "static")