Fixed #21941 -- Documented the kwargs param of django.conf.urls.url().

Thanks cjerdonek for the report.
This commit is contained in:
Tim Martin 2014-03-25 21:06:54 +00:00 committed by Tim Graham
parent c19bbefca2
commit a779757706
2 changed files with 14 additions and 5 deletions

View file

@ -76,6 +76,9 @@ This function takes five arguments, most of which are optional::
url(regex, view, kwargs=None, name=None, prefix='')
The ``kwargs`` parameter allows you to pass additional arguments to the view
function or method. See :ref:`views-extra-options` for an example.
See :ref:`Naming URL patterns <naming-url-patterns>` for why the ``name``
parameter is useful.