#29353: _middleware_chain is not set for StaticFilesHandler
-------------------------------------+-------------------------------------
Reporter: koxu1996 | Owner: Claude
| Paroz
Type: Bug | Status: assigned
Component: contrib.staticfiles | Version: 2.0
Severity: Normal | Resolution:
Keywords: staticfiles | Triage Stage: Ready for
middleware_chain | checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Claude Paroz):
Replying to [comment:7 koxu1996]:
> BTW do you know why there is 404 error? Should not be ''/static'' served
even though STATICFILES_DIRS is not set and no files are collected?
No, `StaticFilesHandler` is only serving "uncollected" files, as its
typical use case is to serve static files during developement, not in a
deployed environment.
--
Ticket URL: <https://code.djangoproject.com/ticket/29353#comment:9>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/066.0141d58f191168c0a590101438d4f9ef%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.