forked from orbit-oss/flask
helpers.py: Fix docs of url_for(..., _external=True)
This commit is contained in:
parent
a07c60af0a
commit
d23b160e6d
1 changed files with 1 additions and 1 deletions
|
|
@ -276,7 +276,7 @@ def url_for(endpoint, **values):
|
||||||
:param values: the variable arguments of the URL rule
|
:param values: the variable arguments of the URL rule
|
||||||
:param _external: if set to ``True``, an absolute URL is generated. Server
|
:param _external: if set to ``True``, an absolute URL is generated. Server
|
||||||
address can be changed via ``SERVER_NAME`` configuration variable which
|
address can be changed via ``SERVER_NAME`` configuration variable which
|
||||||
defaults to `localhost`.
|
falls back to the `Host` header, then to the IP and port of the request.
|
||||||
:param _scheme: a string specifying the desired URL scheme. The `_external`
|
:param _scheme: a string specifying the desired URL scheme. The `_external`
|
||||||
parameter must be set to ``True`` or a :exc:`ValueError` is raised. The default
|
parameter must be set to ``True`` or a :exc:`ValueError` is raised. The default
|
||||||
behavior uses the same scheme as the current request, or
|
behavior uses the same scheme as the current request, or
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue