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:02:06 -0400
commitfe83cfe9eddae67838d453fa247bd47e1b3bf277 (patch)
treeb92e7521fab85b66ef11637d6c80153686a50342 /docs/ref
parentc0a9c2f72ac289b2ba8313c6a2c56be5ed94f01d (diff)
[1.6.x] Fixed #21941 -- Documented the kwargs param of django.conf.urls.url().
Thanks cjerdonek for the report. Backport of a779757706 from master
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 78e2e28980..31d3ecab93 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.