Hi,

I was trying to learn more from the powertable example, specifically
how the represent options in the field definitions work.

db.define_table('products',
 
Field('category',db.category,label=T('CategoryW'),represent=lambda
c:get_category_name(c)),

I deleted the get_category_name function definition to see what would
happen  and I was surprised to see no difference, and no error was
generated. I don't understand this and I was wondering if there was
any explanation?

Reply via email to