On Tuesday, August 28, 2012 7:31:01 PM UTC-4, Sontek wrote: > > I think what you are looking for his view_defaults: > > > http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/narr/viewconfig.html > > > http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/api/view.html#pyramid.view.view_defaults > > > > Unfortunately the "function_name" part of the predicate will be different for every view-callable, so view_defaults won't work -- unless a custom predicate could inspect the given request to see the current view-callable def name?
-- Jason -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To view this discussion on the web visit https://groups.google.com/d/msg/pylons-discuss/-/Bl49rRMNZS8J. 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.
