Docs mention query args now. This fixes #20

This commit is contained in:
Armin Ronacher 2010-05-02 11:36:42 +02:00
parent 31493850de
commit f1603d33f2
2 changed files with 10 additions and 1 deletions

View file

@ -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