That works for me.

Is render.<html file>() ?

Oh... and works only doing return render.test(). Without return...
nothing was loaded and no error.

On Aug 21, 2:26 am, Alexander Krylowsky
<[EMAIL PROTECTED]> wrote:
> On Aug 21, 7:52 am, WalterCool <[EMAIL PROTECTED]> wrote:
>
> > i have this:
>
> > from web.contrib.template import render_cheetah
> > render = render_cheetah('templates/')
>
> > but render('test.html') tell me always that:
>
> > File "./webtest.py", line 12, in GET
> >     render('test.html')
> > TypeError: template() takes exactly 0 arguments (1 given)
>
> > Where is my fault?
>
> may be render.test()?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to