You don't need this line if you une format= and if you don't need fancy stuff like making a subset of element of your Taste table.
But, what the problem exactly? By the way, it is weird to use capitals for table name and field name. It confusing. Richard On Thu, Apr 5, 2012 at 1:57 PM, BlueShadow <[email protected]> wrote: > Thanks Massimo > I had a bit of a headache porting it to my big app. The Problem was a > single line: > db.define_table('Taste', > Field('Name',unique=True), > > format = '%(Name)s' # <<< important > ) > db.Taste.Name.requires=[IS_NOT_EMPTY(),IS_NOT_IN_DB(db,'Taste.Name')] > > db.define_table('Food', > Field('Name',length=128), > > > Field('Taste','list:reference Taste') > )* > db.Food.Taste.requires=IS_IN_DB(db,'Taste.id','Taste.Name')* > > when you remove this line it works but if not you got the same result as > if you had no list. > Pretty weird. >

