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
need to increment funcionality and design.
2012/2/8 Praveen Bhat <[email protected]>:
> Hello,
>
> I have 2 controllers Index and articles, how do I display data from defined
> in articles in Index controller?
>
>
> Regards,
> Praveen
--
Carlos J. Costa
Cientista da Computação
Esp. Gestão em Telecom
EL MELECH NEEMAN!
אָמֵן