On 6/16/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> "
>         @expose(template="wfinance.templates.info.infopage1")
>        def infopage1...
> "
>
> on
> localhost:8080/info/infopage1
>
> with directory structure "templates/info/infopage1.kid"
>
> But it does not work.  Is the syntax wrong?
>
>
No, your syntax is right, but as Jorge said, you need an __init__.py
in your info directory for it to become a valid python module.  Either
create an empty file called __init__.py or copy the one from the
templates directory.

Lee

-- 
Lee McFadden

blog: http://www.splee.co.uk
work: http://fireflisystems.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to