If you want to display one record of the result of a query, you could use SQLFOM.grid
:
def view_post:
form = SQLFORM.grid( query = db.post.id==10 )
return dict( form=form )
You can replace 10 for anything you want, or change the query. If you want to check out a more complex example, check the Web2py slices http://www.web2pyslices.com/slice/show/1471/sqlformgrid