On 12/28/05, David Stanek <[EMAIL PROTECTED]> wrote:
>  In development mode TurboGears calls kid.load_template which loads a file
> by path. The hex based module is how Kid handles loading by file path. In
> production mode the templates are imported so the names are more like what
> you would expect.

There's no convenient tool right now for precompiling the templates
(unless people run kidc themselves), so I'm guessing TurboGears rarely
goes down that code path at present. A tg-admin command to compile the
templates would be good (or maybe a distutils command, since you'll
often be doing that as a packaging step for production use).

Kevin

--
Kevin Dangoor
Author of the Zesty News RSS newsreader

email: [EMAIL PROTECTED]
company: http://www.BlazingThings.com
blog: http://www.BlueSkyOnMars.com

Reply via email to