On Sat, 2011-09-03 at 16:16 -0700, jazg wrote:
> Using the same script but changing these two functions:
>
> """
> def level1_include(config):
> config.add_route('level1', '/')
> #config.include(level2_include, route_prefix='/level2')
> config.include(level2_include)
>
> def level2_include(config):
> #config.add_route('level2', '/')
> config.add_route('level2', '/level2/')
> """
>
> I want this to have the very same effect, because even though I
> haven't included level2_include with a second prefix, it should still
> carry over the "/level1" prefix because I'm calling it from within
> level1_include. Instead it just creates the route "/level2/" at the
> root.
Yes, that is a bug. Thanks for the report.
> My actual problem is concerning add_static_view:
add_static_view will work itself out once I fix the bug. I don't think
the debugtoolbar is involved in this particular bug (although we may
find a separate bug involving the toolbar). Tracking the original bug
here:
https://github.com/Pylons/pyramid/issues/260
- C
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en.