Re: [web2py] Re: How do I view text on view.html

2014-06-17 Thread Maurice Waka
Thanks! it works! On Mon, Jun 16, 2014 at 6:32 PM, LoveWeb2py atayloru...@gmail.com wrote: If you want to get 'Victor' in a view you could do something simple like: Controller: def name_return(): name = 'Victor' return dict(name=name) view name_return.html: {{extend

Re: [web2py] Re: How do I view text on view.html

2014-06-16 Thread Carlos Costa
I guess you need to familiarize yourself more with not just with web2py but also with web development, right? Anthony is right, you should read web2py book at www.web2py.com/book, at least the first chapters to get a start. At first you need to understand MVC. For example you may have: in db.py