There was a bug in TurboCheetah 0.9 that i fixed yesterday.

By the way, I think I'm going to take Mike Orr's suggestion and change
the usage from "some.template.tmpl" to "cheetah:some.template". Sorry
for the change, but it will make things more pleasant and less
confusing in the future, I think.

Kevin

On 12/30/05, Olli Wang <[EMAIL PROTECTED]> wrote:
>
> thanks, Kevin. it works for me. but after i tried to use Cheetah
> template, i happened to meet another problem, that is, if i rewrite
> some code in controller.py like this:
>
>     @turbogears.expose(template="olliroom.templates.olli.tmpl")
>     def index(self):
>         return dict(t="Hello, World!")
>
> when i run "python test-start.py", i could see what should be displayed
> correctly at http://localhost:8080. But when i refresh the page, i got
> "500 Internal error" and a traceback "ImportError: No module named
> olli". i did really have the "olli.tmpl" file in the correct dir, is
> there anything wrong? thanks.
>
>


--
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