#33048: Documentation doesn't mention that using staticfiles' runserver doesn't
use
the middleware chain.
-------------------------------------+-------------------------------------
Reporter: Keryn Knight | Owner:
Type: | valleyofblackpanther
Cleanup/optimization | Status: assigned
Component: Documentation | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by valleyofblackpanther):
* has_patch: 0 => 1
Comment:
Hi everyone. I am Kaushik. So you can see that from the ticket that it
needed some edit on the documentation, and I did the needed refraction to
it. I added a note to the documentation explaining the role of middleware
during serving the static files, explaining the role of runserver and how
it overrides per se, and how it doesn't run MIDDLEWARE. The documentation
is well versed but it didn't mention anything about the middleware
function. This note will help first-time readers to give them an
insightful mechanism of how it automatically serves static files. This is
my first pull request during my Django contribution
[https://github.com/django/django/pull/15159] If you have anything to add
to it or feel like it doesn't make any sense kind of feeling, mention it
below the comments, we'll try to negotiate and come to terms where it will
serve both our interests to the contribution.
--
Ticket URL: <https://code.djangoproject.com/ticket/33048#comment:3>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.d6dca9b63d9972eec484a37e985c39ac%40djangoproject.com.