Fix static CSS 404 by adding STATICFILES_DIRS #2

Merged
meander merged 1 commit from fix/staticfiles-dirs into main 2026-05-23 08:24:44 +00:00
Owner

The built CSS in static/css/output.css was returning 404 because Django didn't know to look in the project-root static/ directory. Adds STATICFILES_DIRS = [BASE_DIR / 'static'] to settings.

The built CSS in static/css/output.css was returning 404 because Django didn't know to look in the project-root static/ directory. Adds STATICFILES_DIRS = [BASE_DIR / 'static'] to settings.
Add STATICFILES_DIRS so Django serves project-level static files
All checks were successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
88d918173c
The built CSS in static/css/output.css was returning 404 because Django
didn't know to look in the project-root static/ directory.
meander scheduled this pull request to auto merge when all checks succeed 2026-05-23 08:03:39 +00:00
meander deleted branch fix/staticfiles-dirs 2026-05-23 08:24:45 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
meander/mndr-reg!2
No description provided.