web2py Version 1.81.5 (2010-07-22 23:56:21) def index(): rows = db().select(db.Dinners.ALL) form = crud.select(db.Dinners) return dict(form=form, rows=rows)
default/index.html: {{extend 'layout.html'}} {{=form.custom.begin}} {{=form.custom.end}} Results in: Traceback (most recent call last): File "/home/rhd/Desktop/web2py/gluon/restricted.py", line 178, in restricted exec ccode in environment File "/home/rhd/Desktop/web2py/applications/NerdDinner/views/default/ index.html", line 60, in <module> AttributeError: 'SQLTABLE' object has no attribute 'custom' What am I doing wrong?