> The *requires *I posted solves the problem if all the inserted data is > being validated (so, either by form or by, e.g., > db.table.validate_and_insert()), in the sense that the FK is checked by > web2py upon insertion. >
Though that only helps with the initial record creation. If the user changes the team name in the auth_user table, the application code would be responsible for updating the name in the linked records of the t_teams table (which perhaps could be done via an _after_update callback on the auth_user table). Anthony -- --- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

