On 14 Jan, 2006, at 1:22 pm, David Stanek wrote:
If snippets.kid is in the same directory as master.kid you should
just be able to 'import snippets'.
Doesn't work. That's what got me started trying everything else.
You can also use the filename in py:extends instead. Something
like py:extends="'snippets.kid'".
I'm already extending sitetemplate, so I doubt I can also extend
snippets.
Also you may want to check to see if you have proper __init__.py
files.
Definitely got it (checked) or else the templates wouldn't be working
in the first place.
I just tested this with the latest SVN and a new quickstarted
project: doesn't work there either. I have the following at the top
of my welcome.kid file:
<?python import snippets ?>
I'll happily email anyone who's interested the project...
--
Jeff Watkins
http://newburyportion.com/
"Just because you have the right to do something, doesn't mean it's
the right thing to do."
-- Fred Friendly, former president of CBS News