Fix static CSS 404 by adding STATICFILES_DIRS #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/staticfiles-dirs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.