[web2py] how to display data

2012-02-08 Thread Praveen Bhat
Hello, I have 2 controllers Index and articles, how do I display data from defined in articles in Index controller? Regards, Praveen

Re: [web2py] how to display data

2012-02-08 Thread Carlos Costa
First select the data you want to display #select all records with all fields articles = db(db.articles).select() Second, pass it to the view return dict(articles=articles) Third, render it in the view inde.html {{=articles}} Note: this is the most basic data displaying with Web2py, you will