On Aug 29, 11:54 pm, Chris McDonough <[email protected]> wrote:
> On Mon, 2011-08-29 at 15:09 -0700, Ben Sizer wrote:
>
> Didn't notice this before but I think you meant to say:
>
>      config.add_view(views.view_all_libraries,
>                       route_name='all_libs',
>                       renderer='myapp:templates/view_libraries.pt')
>
> Note the "route_name=" in there.

Aha, thank you again - that has solved it. It would have been great if
add_view had raised an exception instead, but it looks like a pretty
complicated function to try and change to make that possible, I
guess. :)

--
Ben Sizer


-- 
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.

Reply via email to