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]=".
constraint of multiple fields.
[2] http://www.web2py.com/book/default/chapter/07#Database-Validators
Until to the next challenge! ;-)
Greetings.
Lenkaster
On 26 maio, 16:27, Lenkaster wrote:
> Hi,
>
> I have some problems to validate in the form layer when a table has
> uniqueness c
_thread/thread/e5ddcfc6ca019568/a143eb919c92735b?lnk=gst&q=unique+multiple+columns#a143eb919c92735b
Obs:
In this case it is important 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