Skip to content
Myr

helpers.py: Fix docs of url_for(..., _external=True)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by RyanSquared · committed by David Lord · parent a07c60a · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:flask/helpers.py+1 added-1 removed
274 unmodified lines
275 :param endpoint: the endpoint of the URL (name of the function)276 :param values: the variable arguments of the URL rule277 :param _external: if set to ``True``, an absolute URL is generated. Server278 address can be changed via ``SERVER_NAME`` configuration variable which279 defaults to `localhost`.279 falls back to the `Host` header, then to the IP and port of the request.280 :param _scheme: a string specifying the desired URL scheme. The `_external`281 parameter must be set to ``True`` or a :exc:`ValueError` is raised. The default282 behavior uses the same scheme as the current request, or283 ``PREFERRED_URL_SCHEME`` from the :ref:`app configuration <config>` if no
768 unmodified lines