Hi

I've been trying to use mako with Turbogears, and end up with a 500
error

I've set the in config/app.cfg

tg.defaultview = "mako"

I'm trying out the 20 minute wiki and adding mako to it. So I have:

@expose(template="wiki20.templates.page")   #1
   def index(self , pagename="FrontPage"):     #2

And I have a page.mak  (also tried renaming to .html, and no
extension) file with the mako template in my templates directory. But
I get the 500 error traceback:

.
.
.
  File "/usr/lib/python2.4/site-packages/Mako-0.1.5-py2.4.egg/mako/
lookup.py", line 70, in get_template
    raise exceptions.TopLevelLookupException("Cant locate template for
uri '%s'" % uri)
TopLevelLookupException: Cant locate template for uri
'wiki20.templates.page'

Anyone know what I'm doing wrong?

Thanks


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to