summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorTim Martin <tim@asymptotic.co.uk>2014-03-25 21:06:54 +0000
committerTim Graham <timograham@gmail.com>2014-03-27 07:01:47 -0400
commita779757706b19ef244dc1ede2e1e992735461623 (patch)
treee6c93367b215d3a743fbcc2dcf5ef321f5515aa5 /docs/ref
parentc19bbefca2b51f8d9052424044ab5beb8dafdf3d (diff)
Fixed #21941 -- Documented the kwargs param of django.conf.urls.url().
Thanks cjerdonek for the report.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/urls.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/ref/urls.txt b/docs/ref/urls.txt
index 513e4c3356..1806e1980f 100644
--- a/docs/ref/urls.txt
+++ b/docs/ref/urls.txt
@@ -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.