On 10/26/05, Rune Hansen <[EMAIL PROTECTED]> wrote: > Another thing. Am I correct in thinking that the tg.sitetemplate > removes the need for py:extends="master.kid" in all other templates? > Anyway, this is what I get when setting the > tg.sitetemplate="sm.templates.master" in dev.cfg.
sitetemplate is not intended to replace the "master.kid" in your templates. master.kid is used basically as the template for your application. The idea with sitetemplate is that your overall site may be composed of multiple applications (though there are still some mechanisms missing to make this fully a reality). You'll note that master.kid extends sitetemplate. By the way, the entire setup you get with quickstart, particularly in the area of templates, is just a guideline to get your started. Kid offers many ways to compose your templates if your needs are different, and TurboGears does not stand in the way of any of those mechanisms. Kevin

