> def create():
> form = crud.create(db.booking, next = URL('index'))
> return dict(form=form)
> So I was wondering to use a validator like this:
> db.booking.room_id.requires = IS_IN_DB(db, db.room.id, '%
(name)s',multiple=True)
> But It doesn't work.
In what way doesn´t it work?
You have t
Hi every one! Again me, this time I have a little issue with this:
I have the model:
db.define_table('location',
Field('name','string'))
db.define_table('room',
Field('name','string'),
Field('isbooked','boolean'),
Field('location_id', db.location))
db.define
2 matches
Mail list logo