forked from orbit-oss/flask
Docs mention query args now. This fixes #20
This commit is contained in:
parent
31493850de
commit
f1603d33f2
2 changed files with 10 additions and 1 deletions
4
flask.py
4
flask.py
|
|
@ -145,6 +145,10 @@ class _RequestContext(object):
|
|||
|
||||
def url_for(endpoint, **values):
|
||||
"""Generates a URL to the given endpoint with the method provided.
|
||||
Variable arguments that are unknown to the target endpoint are appended
|
||||
to the generated URL as query arguments.
|
||||
|
||||
For more information, head over to the :ref:`Quickstart <url-building>`.
|
||||
|
||||
:param endpoint: the endpoint of the URL (name of the function)
|
||||
:param values: the variable arguments of the URL rule
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue