Ok this is simple I know , but I am sort of not getting it. I have a table
named 'spam' and I need the latest three entries of it .. so i do the
below:-

def home:

latestthreespams=db().select(db.spam.ALL,orderby=~db.spam.created_on,limitby=(0,3))
       return dict(jingle=latestthreespams)

now I go to the view and try to access only the attributes of second spam of
the three spam row objects sent.I was trying something like this in the view
which obviosly does not work:-

{{for elem in jingle(1):}}
{{=elem.title}}
{{pass}}

Reply via email to