On Thu, Sep 8, 2011 at 6:00 PM, cd34 <[email protected]> wrote:
> On Sep 8, 7:44 am, Ben Sizer <[email protected]> wrote:
>> So, again (not directed to you, Chris): are there any examples of
>> people using the webhelpers.html.tag stuff with Pyramid? :)
>
> http://groups.google.com/group/pylons-discuss/msg/d711428e505072b5
>
> This enables webhelpers in a very minimal project.

You don't *need* a BeforeRenderer unless you want to create an 'h'
variable for the helpers. You can import the helpers directly into any
template or view that needs them. At least if the template engine lets
you do Python imports as Mako does.

Also, Akhet has this preconfigured, so you can either start a project
with that or copy the code from it.

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

Reply via email to