On 7/17/06, Martin <[EMAIL PROTECTED]> wrote:
> > How does your patch work? In your example, would it just add
> > {'weblog_slug': 'guestbook'} to every infodict in the included
> > URLconf?
> it is a fairly simple change (so maybe I over looked something)
Hi Martin,
That answers my question
Martin wrote:
> Once a sub_match as beed found (in `RegexURLResolver.resolve`) the dict
> passed to the contructor of `RegexURLResolver` will be merged with the
> dict of prefix-match, the sub_match (so instead of merging 2 dict, now
> 3 dict are merged and the default_args dict has to lowest `pri
Hi Adrian,
> How does your patch work? In your example, would it just add
> {'weblog_slug': 'guestbook'} to every infodict in the included
> URLconf?
it is a fairly simple change (so maybe I over looked something)
I only had to change to files:
conf/urls/defaults.py
just pass the third para
On 7/16/06, Martin <[EMAIL PROTECTED]> wrote:
> I just recently found out that if you use the 'include' feature to
> refer to a external URl config file the default parameter dict is
> silently ingored, e.g.:
>
> urlpatterns = patterns \
> ( ""
> , ( r"^lce/guestbook", include ("lce_at.bl
Hi,
I just recently found out that if you use the 'include' feature to
refer to a external URl config file the default parameter dict is
silently ingored, e.g.:
urlpatterns = patterns \
( ""
, ( r"^lce/guestbook", include ("lce_at.blog.urls"), dict
(weblog_slug = "guestbook"))
### t