> > @auth.requires_login() > def notes(): > dbhealth.health.id.readable = False > g = SQLFORM.grid(dbhealth.health, searchable=True, csv=False, > user_signature=True, ) > return dict(form = g)........code > question = db(db.answers.author == auth.user.id > ).select(orderby=~db.answers.created_on,limitby=(2,0)) > return dict(form=form, question=question) >
The above is not valid Python code. Please show the real code. Anthony -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.