view_config's wrapper - example?

20 views
Skip to first unread message

Jonathan Vanasco

unread,
Sep 13, 2016, 1:28:07 PM9/13/16
to pylons-discuss
does anyone have an example of using view_config's `wrapper` argument?

i'm trying to see if it would work for a specific use-case, but I can't figure out how to use it correctly.  i looked in the tests for inspiration, but there doesn't seem to be a test against it either.

Michael Merickel

unread,
Sep 13, 2016, 2:24:44 PM9/13/16
to Pylons
It has very very limited use. You can see exactly what it does from its implementation as a view deriver.


On Tue, Sep 13, 2016 at 12:28 PM, Jonathan Vanasco <jvan...@gmail.com> wrote:
does anyone have an example of using view_config's `wrapper` argument?

i'm trying to see if it would work for a specific use-case, but I can't figure out how to use it correctly.  i looked in the tests for inspiration, but there doesn't seem to be a test against it either.

--
You received this message because you are subscribed to the Google Groups "pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to pylons-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/90670fa4-f53d-45e6-867f-831f3050c3c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jonathan Vanasco

unread,
Sep 13, 2016, 3:25:31 PM9/13/16
to pylons-discuss


On Tuesday, September 13, 2016 at 2:24:44 PM UTC-4, Michael Merickel wrote:
It has very very limited use. You can see exactly what it does from its implementation as a view deriver.

thanks. this does seem awkward to use.
Reply all
Reply to author
Forward
0 new messages