On 1/30/06, Alvin Wang <[EMAIL PROTECTED]> wrote:
>
> Yes, I update TG daily.
>
> I would like to do something like
> py:extends="'scaffolding.templates.master.kid'"

When the extends value is a string (it's in quotes), Kid looks around
with file paths relative to where that template is.

To look in a completely different place, you'd need to precompile the
template to a .pyc file or put it in baseTemplates in turbogears.view.
Then you can

<?python import scaffolding.templates.master ?>
<... py:extends="scaffolding.templates.master">

Note that the py:extends *doesn't* have quotes around it in that usage.

Kevin

Reply via email to