diff options
| author | Tim Martin <tim@asymptotic.co.uk> | 2014-03-25 21:06:54 +0000 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-03-27 07:02:02 -0400 |
| commit | e2e773c04abeab04866eac14c0040ef3aa653e1b (patch) | |
| tree | a510301a6f8e709564b8c3d1fde6d59a703d6efc /docs/ref | |
| parent | 0134d00be5446d9ae51a1a36e4e10289037f8782 (diff) | |
[1.7.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.txt | 3 |
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. |
