What's the easiest way to make an @view_config wrapper decorator? I
saw the _depth argument in Pyramid 1.4 but I'm not sure how to use it.
What I want to do is to define:
@my_view_config(route_name, renderer=None, permission=None, **kw)
# First three are positional args, first one is required.
# Preprocess the 'renderer' value; e.g., adding a "templates/" prefix.
# Pass the modified args to @view_config.
Can I do this by just returning view_config(...) or do I have to make
a custom function and return it? If so, should I use one of the
decorator helpers?
--
Mike Orr <[email protected]>
--
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.