> > My controller is called index.py: > >> def index(): >> return dict(message=T("Hello World")) > >
In that case your url should be http://localhost:8000/test/index/index > > And now I've edited my view to: > >> <h1>hello world</h1> >> <h2>{{=message}}</h2> > > > and your view should be in views/index/index.html in web2py the url has the following pattern host:port/application/controller/function Regards, Annet -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.