Clarify documentation about how url_for uses configuration values (#2759)
This commit is contained in:
parent
91e53da054
commit
a3272941ce
2 changed files with 7 additions and 1 deletions
|
|
@ -276,7 +276,10 @@ The following configuration values are used internally by Flask:
|
|||
.. py:data:: APPLICATION_ROOT
|
||||
|
||||
Inform the application what path it is mounted under by the application /
|
||||
web server.
|
||||
web server. This is used for generating URLs outside the context of a
|
||||
request (inside a request, the dispatcher is responsible for setting
|
||||
``SCRIPT_NAME`` instead; see :ref:`Application Dispatching <app-dispatch>`
|
||||
for examples of dispatch configuration).
|
||||
|
||||
Will be used for the session cookie path if ``SESSION_COOKIE_PATH`` is not
|
||||
set.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue