fix: remove WhiteNoise middleware in dev settings #12

Closed
codex_a wants to merge 1 commits from fix/dev-whitenoise into main
Owner

WhiteNoise intercepts all /static/ requests and serves from STATIC_ROOT. Without collectstatic that directory is empty, so every asset 404s regardless of the storage backend. Remove it from MIDDLEWARE in development so Django's runserver handles static files natively (DEBUG=True is sufficient).

WhiteNoise intercepts all `/static/` requests and serves from `STATIC_ROOT`. Without `collectstatic` that directory is empty, so every asset 404s regardless of the storage backend. Remove it from `MIDDLEWARE` in development so Django's `runserver` handles static files natively (`DEBUG=True` is sufficient).
codex_a added 1 commit 2026-02-28 20:52:45 +00:00
fix: remove WhiteNoise middleware in dev settings
All checks were successful
CI / nightly-e2e (pull_request) Has been skipped
CI / pr-e2e (pull_request) Successful in 1m4s
CI / ci (pull_request) Successful in 1m23s
800475cf36
WhiteNoise intercepts all /static/ requests and serves from STATIC_ROOT.
Without collectstatic that directory is empty, so every asset 404s regardless
of the storage backend. Remove it from MIDDLEWARE in development so Django's
runserver handles static files natively (DEBUG=True is enough).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
codex_a closed this pull request 2026-02-28 20:58:24 +00:00
All checks were successful
CI / nightly-e2e (pull_request) Has been skipped
CI / pr-e2e (pull_request) Successful in 1m4s
Required
Details
CI / ci (pull_request) Successful in 1m23s
Required
Details

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nohype/main-site#12