Philip,
Thanks for reply, I tried that when I spoke to you on IRC and it worked no
problems.
On 7/23/07, Philip Jenvey <[EMAIL PROTECTED]> wrote:
>
>
>
> On Jul 19, 2007, at 7:41 PM, Lee Connell wrote:
>
> >
> > I am trying to follow the tutorial for pylons using this version,
> > however there is no templates directory in my project. I created this
> > directory and put my templates in there. Pylons starts my project
> > find but when i return a render of my template it complains it can't
> > find it. helloworld/helloworld/templates/serverinfo.html. Here is the
> > output.
> >
> > Module helloworld.controllers.hello:16 in serverinfo
> > <<
> > def serverinfo(self):
> > return render('/serverinfo.html')>> return render('/
> > serverinfo.html')
>
> You've set your default templating engine to genshi, but you're
> referring to the template via a URI (with a proceeding slash). You
> can't use that notation with genshi, so you want:
>
> return render('serverinfo.html')
>
> --
> Philip Jenvey
>
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---