From 9c2c03a9749abccc80f845ee1ff8cd8b7c28b0bc Mon Sep 17 00:00:00 2001 From: Jacob Kaplan-Moss Date: Tue, 27 Feb 2007 20:11:26 +0000 Subject: [PATCH] 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 --- docs/url_dispatch.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/url_dispatch.txt b/docs/url_dispatch.txt index da4be2c746..3f51ce4b91 100644 --- a/docs/url_dispatch.txt +++ b/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()`` --------------------------------------