2009/7/13 Frédéric Hébert <fg.heb...@gmail.com>

>
> Hi there,
>
> first, here is my config:
>  python 2.5.2
>  django 1.0.2
>  plateforme linux debian lenny
>
>  I've two nested views, the inner of two using the list_detail.list
> generic view.
> The outter define a QuerySet and passes it to the inner view.
>
> When I declare the outter view after the inner in urls.py she's never
> been called. It's the inner that's got it.
> (She's called when I reverse the order of declaration, eg the outter
> first)
>
>  I've pasted the code at dpaste : http://dpaste.com/hold/66588/
>
> It's maybe a very stupid problem but I can't see why this happens.
>

You left out a bit of info in describing the problem: what url are you using
to test.  It sounds like you are using a url that actually matches both
patterns you have specified, so whichever one is listed first in urls.py is
the one that is getting called.

Karen

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to