Hello;
This is probably a basic thing that I am unable to figure out.
I have the following table:
db.define_table('example',
Field('relationship', db.auth_user))
When I use the addadmin interface to insert a record, I have the
option in the dropdown to provide a blank selection.
If I submit, it gives me an error: 'value not in database'.
I want figure out how to make this relationship optional/valid.
I like the power the DAL gives in making a auth_user dropdown list (if
I have users), but I also want the ability to 'blank' or null out the
user (or option).
Can someone help me figure this out?
-rppowell
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en.