#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
--------------------------------------+------------------------------------

Comment (by Roy Smith):

 I'm building a tool in the Mediawiki Foundation environment
 (https://wikitech.wikimedia.org/wiki/Help:Toolforge/Python).  It's running
 under uwsgi.  The way they've set things up,  URLs look like
 https://tools.wmflabs.org/TOOL-NAME/rest/of/route.  They use the TOOL-NAME
 part to route the request to the correct tool, and deliver /rest/of/route
 to your django app as the path_info.  And, yes, this is a development
 server.  The production server uses a different mechanism to serve
 statics.

 I encourage you to take a step back and look at this from the point of
 view of somebody who's not intimately familiar with the system.  I've got
 a fair bit of experience with web servers in general, but I'm not very
 familiar with the uwsgi setup I'm running under now, and not very familiar
 with the django staticfiles app.  So, when you say, " 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.", my response would be, "I'm
 giving you an example of it not being noticed, and a suggestion for how to
 make it more obvious".

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31184#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/066.de0ec1d09d07923e5c6e7f0789f2fefd%40djangoproject.com.

Reply via email to