Fix rst syntax error.

Thanks Chris Rebert for the report.
This commit is contained in:
Aymeric Augustin 2013-02-01 21:47:50 +01:00
parent e0bd93ddd7
commit d75a54c184
1 changed files with 6 additions and 6 deletions

View File

@ -50,12 +50,12 @@ All attributes should be considered read-only, unless stated otherwise below.
.. attribute:: HttpRequest.path_info .. attribute:: HttpRequest.path_info
Under some Web server configurations, the portion of the URL after the host Under some Web server configurations, the portion of the URL after the
name is split up into a script prefix portion and a path info portion. host name is split up into a script prefix portion and a path info
The ``path_info`` attribute always contains the path info portion of the portion. The ``path_info`` attribute always contains the path info portion
path, no matter what Web server is being used. Using this instead of of the path, no matter what Web server is being used. Using this instead
attr:`~HttpRequest.path` can make your code much easier to move between test of :attr:`~HttpRequest.path` can make your code easier to move between
and deployment servers. test and deployment servers.
For example, if the ``WSGIScriptAlias`` for your application is set to For example, if the ``WSGIScriptAlias`` for your application is set to
``"/minfo"``, then ``path`` might be ``"/minfo/music/bands/the_beatles/"`` ``"/minfo"``, then ``path`` might be ``"/minfo/music/bands/the_beatles/"``