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

This commit is contained in:
Armin Ronacher 2011-04-25 16:02:35 +02:00
parent e774e3a69e
commit 017117778e

View file

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