Hello everyone,

I tried using some helpers functions in templates just like example in 
http://wiki.pylonshq.com/display/pylonsdocs/QuickWiki+Tutorial has it, 
but it doesn't work:

         ${h.link_to('FrontPage', h.url_for(action="index", 
title="FrontPage"))}
         | ${h.link_to('Edit ' + c.title, h.url_for(title=c.title, 
action='edit'))}

I *did* import:

import helloworld.lib.helpers as h

..in model/__init__.py.

Why it doesn't work?

Regards,
mk


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