I have created simple table:

db.define_table('hoortoestel', 
# algemeen
Field('merk', type='string', required=True, ), 
Field('type', type='string', required=True, ),
...

When trying to enter a new record in appadmin I noticed that when not 
entering anything in either field, the new record data is accepted and 
entered into the (SQLlite) database. I think that's a bug. 
If I change the required constraint to notnull=True, the empty record is 
indeed rejected, as expected. 


-- 



Reply via email to