mirror of https://github.com/django/django.git
Fixed #3598: Added a note about the precedence of URL matches versus extra kwargs in URL patterns. Thanks, Ubernostrum.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4638 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
b97636944d
commit
9c2c03a974
|
@ -390,6 +390,13 @@ to pass metadata and options to views.
|
|||
.. _generic views: ../generic_views/
|
||||
.. _syndication framework: ../syndication/
|
||||
|
||||
.. admonition:: Dealing with conflicts
|
||||
|
||||
It's possible to have a URL pattern which captures named keyword arguments,
|
||||
and also passes arguments with the same names in its dictionary of extra
|
||||
arguments. When this happens, the arguments in the dictionary will be used
|
||||
instead of the arguments captured in the URL.
|
||||
|
||||
Passing extra options to ``include()``
|
||||
--------------------------------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue