mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Fixed #21941 -- Documented the kwargs param of django.conf.urls.url().
Thanks cjerdonek for the report.
This commit is contained in:
parent
c19bbefca2
commit
a779757706
2 changed files with 14 additions and 5 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue