uhm.
what do you want (as examples) in auth_user.team_name and what on
t_teams.name ?
if you want e.g. "a-team" in auth_user.team_name and "a-team" in
t_teams.name, and a record in t_teams must exist only with a "name" that is
one of the team_name values of the auth_user table (i.e. you have to create
the user BEFORE the t_teams), then you can't create that reference.
You should use a Field('name', requires=IS_IN_DB(db, 'auth_user.team_name'))
--
---
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.