:)

Em sexta-feira, 27 de abril de 2012 16h00min39s UTC-3, murat bilal escreveu:
>
> Hi Everyone, 
>
> I am new to web.py and read this tutorial 
> http://webpy.org/docs/0.3/tutorial 
>
> My code is 
> #!/usr/bin/env python 
> import web 
> render = web.template.render('templates/') 
> urls = { 
>      '/.*','index' 
> } 
> class index: 
>    def GET(self,name): 
>       return render.index(name) 
>
> if __name__ == "__main__": 
>    app = web.application(urls,globals()) 
>    app.run() 
>
> But when i go to the url like http://192.168.1.13:8080/Joe 
> I got his error <type 'exceptions.TypeError'> at /Joe 
>
> GET() takes exactly 2 arguments (1 given). 
>
> Any Ideas.Please help

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/webpy/-/qUzmcajeL00J.
To post to this group, send email to webpy@googlegroups.com.
To unsubscribe from this group, send email to 
webpy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to