BTW:
if your url mapping differs from your GET, POST def parameters, you will get
this error.
e.g.:
def GET(self, name):
.....
but url mapping:
"/", "someclassname"
maybe this is right:
"/(.*)", "someclassname"
On Thu, Aug 21, 2008 at 2:26 PM, 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()?
> >
>
--
-----------------------------------------------
Yours
Faithfully
Daniel Yang
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---