On Jan 7, 2:09 pm, Martin Aspeli <optil...@gmail.com> wrote: > On Jan 6, 8:47 am, Chris McDonough <chr...@plope.com> wrote: > > > On Thu, 2012-01-05 at 23:49 -0800, Martin Aspeli wrote: > > > > On Jan 6, 7:06 am, Chris McDonough <chr...@plope.com> wrote: > > > > Thanks, I'm tracking this > > > > athttps://github.com/Pylons/pyramid/issues/394
Does this also fix the following issue: @view_defaults(context=models.Root) class RootViews(object): def __init__(self, request): self.request = request @view_config(name='', request_type=IDesktopRequest, renderer='../ templates/home.pt') def home(self): return { } This view will match not just the root, but also any item traversed to from the root. If I move the context=models.Root discriminator to the view_config directive, it matches only the root. Martin -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-discuss@googlegroups.com. To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.