mirror of
https://github.com/django/django.git
synced 2025-09-26 12:09:19 +00:00
[1.7.x] Fixed #21941 -- Documented the kwargs param of django.conf.urls.url().
Thanks cjerdonek for the report.
Backport of a779757706
from master
This commit is contained in:
parent
0134d00be5
commit
e2e773c04a
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