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
#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
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
3 matches
Mail list logo