Milton Galo Patricio wrote:
>   I'm trying import other template in my template [1], but errors
> detecting when the templates is procesing..he said:
> 
> ImportError: No module named include

The recipe assumed you had Kid imports enabled. I have added this now 
explicitly to the main.kid template so that the example always works:

<?python kid.enable_import(); import include ?>

If you don't want to use Kid imports, you can also write

<?python include = kid.load_template('include.kid') ?>

-- Chris


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to