#27701 closed Cleanup/optimization (fixed)
Document that runserver bypasses middleware for static files
Reported by: | Kevin Christopher Henry | Owned by: | Joe Krzystan |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
It seems that when runserver
(with django.contrib.staticfiles
) serves static files the request completely bypasses middleware. This caught me off guard, and as far as I can tell isn't documented. It probably should be.
Change History (6)
comment:1 by , 8 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 7 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 7 years ago
Has patch: | set |
---|
comment:4 by , 7 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
Note:
See TracTickets
for help on using tickets.
Added note snippet reflecting this behavior to staticfiles runserver doc section.
https://github.com/django/django/pull/8942