Don't know if this is the right place for this.
On page 70 of the cookbook it shows the example below:
def index():
form = SQLFORM(db.dog)
if form.accept(request.vars,session):
response.flash = "record %i created" % form.vars.id
return dict(form=form)
Neither FORM nor SQLFORM have a method accept. Instead the text
should read:
def index():
form = SQLFORM(db.dog)
if form.accepts(request.vars,session):
response.flash = "record %i created" % form.vars.id
return dict(form=form)
--
To unsubscribe, reply using "remove me" as the subject.