Browse Source

Document that None skips in query strings. This fixes #224

pull/228/merge
Armin Ronacher 14 years ago
parent
commit
017117778e
  1. 3
      flask/helpers.py

3
flask/helpers.py

@ -166,7 +166,8 @@ def url_for(endpoint, **values):
==================== ======================= ============================= ==================== ======================= =============================
Variable arguments that are unknown to the target endpoint are appended Variable arguments that are unknown to the target endpoint are appended
to the generated URL as query arguments. to the generated URL as query arguments. If the value of a query argument
is `None`, the whole pair is skipped.
For more information, head over to the :ref:`Quickstart <url-building>`. For more information, head over to the :ref:`Quickstart <url-building>`.

Loading…
Cancel
Save