diff options
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 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. |
