[web2py] Re: dal trying to insert 0 instead of null?

2011-07-13 Thread Lenkaster
Hi cjwebb Your suspect is correct and I had a similar barrier. Pay attention this part of log:   File c:\web2py\gluon\sqlhtml.py, line 1205, in accepts     self.vars.id = self.table.insert(**fields) Before the line 1205 accepts method tries to set up recipe_id with fields[fieldname]=. Probaly

[web2py] Re: Integrity error with IS_NOT_IN_DB [Solved]

2011-07-07 Thread Lenkaster
#Database-Validators Until to the next challenge! ;-) Greetings. Lenkaster On 26 maio, 16:27, Lenkaster lenkast...@gmail.com wrote: Hi, I have some problems to validate in the form layer when a table has uniqueness constraint with more than one column. The exemple following explains

[web2py] Integrity error with IS_NOT_IN_DB

2011-05-26 Thread Lenkaster
to keep uniqueness constraint in database layer. So I would like see your sugestions and opinions about that, and where is my mistake? Greetings Lenkaster