Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit 9c2c03a9749abccc80f845ee1ff8cd8b7c28b0bc 1 parent b976369
@jacobian jacobian authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 docs/url_dispatch.txt
View
7 docs/url_dispatch.txt
@@ -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()``
--------------------------------------
Please sign in to comment.
Something went wrong with that request. Please try again.