> > the form is created by the admin app, no validation error, just i get this > error for any insert with relation. >
Wait, your model has something odd (at least for me) Since countries is a reference value, AFAIK, it must be an integer. But you are using a string validator. I don't think that's legal. If you remove the validator, it should work fine. I think you need to set the constraint in another way. -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.