I am having trouble getting list:reference to work. I have made a tester app where db.py is:
db.define_table('tag',
Field('name'),
format='%(name)s')
db.define_table('product',
Field('name'),
Field('tags', 'list:reference tag'))
#this isn't necessary for the error, but things were getting out of hand
a = db.tag.insert(name='red')
b = db.tag.insert(name='green')
c = db.tag.insert(name='blue')
db.product.insert(name='Toy Car', tags=[a, b, c])
db.product.insert(name='Toy Boat', tags=[a])
That part all seems to work and I get a correct database when I look in the Admin interface. This is from the manual.
Then in the Database Administration interface, I create a new Product "Toy Truck" and select say "Green". But when I click submit, I get "Value not in database". If I try to add a new color to tag, the tag does not appear in the selection field when I then make a new product. I have similar problems in my own views, but figure if I can't get this...