Skip to content

Commit

Permalink
Document that None skips in query strings. This fixes pallets#224
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuhiko committed Apr 25, 2011
1 parent e774e3a commit 0171177
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flask/helpers.py
Expand Up @@ -166,7 +166,8 @@ def url_for(endpoint, **values):
==================== ======================= =============================
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>`.
Expand Down

0 comments on commit 0171177

Please sign in to comment.