#31184: URL dispatcher docs should mention path_info
--------------------------------------+------------------------------------
Reporter: Roy Smith | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Carlton Gibson):
* type: Uncategorized => Cleanup/optimization
* version: 2.2 => master
* component: Uncategorized => Documentation
* stage: Unreviewed => Accepted
Comment:
Hi Roy, thanks for the report.
A small, "matching HttpRequest.path_info" clause in the URL Dispatcher
docs seems reasonable, yes.
I'll accept on that basis. Are you up for doing a PR?
I'm not convinced by the other two cases.
* The debug 404 page has both full URL and the path that attempted to
match in plain site. It's not often they are different but, I would expect
the difference there to be noticed, and for folks to know enough about
their app to work out what's they're missing.
* `STATIC_URL` is the URL prefix for your static files. When there's a web
server in play you need to configure it to serve the files in
`STATIC_ROOT` from that URL — As I read it the sentence you quote it seems
correct: the URL prefix should match `STATIC_URL`
"It's not often that they're different..." — You have some ''mount point''
going on, what is that, if you don't mind me asking? Is this a local
development server? Which one? Thanks
--
Ticket URL: <https://code.djangoproject.com/ticket/31184#comment:2>
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/066.331b32e3cb87d5f6b593f83c8836ff53%40djangoproject.com.