I have defined a simple table: 

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

If I then try to enter a new record in appadmin and do not enter anything 
for the fields, the record is still accepted and entered into the (SQLite) 
database. I would have expected the DAL to refuse the values. 
If I change the constraints from required=True to notnull=True, the empty 
values are not accepted. 

Bug or oversight by me?

-- 



Reply via email to