I have two tables defined: db.define_table('orders', Field('buyer_id',db.auth_user), Field('order_date','datetime'), Field('status'))
db.define_table('ordered_items', Field('order_num','reference orders'), Field('product_id',db.products)) When I try to display the ordered_items table with this: {{=SQLFORM.grid(db.ordered_items, maxtextlength=1000, paginate=10, sortable=False, searchable=False, details=False, editable=False, deletable=False, create=False, csv=False) }} ...I get an error message saying "not authorized." What?! Why??? (I have a sneaking suspicion it's related to the 'reference orders' data type.) And how do I get authorization? Thanks. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.