Probably related to user_signature. Are you accessing the grid function 
with extra args in the URL but not passing those args to .grid via the 
"args" argument?

On Tuesday, January 28, 2014 12:00:29 AM UTC-5, horridohobbyist wrote:
>
> Oh, sorry, I erred. That's not the problem. Please disregard until I 
> investigate further.
>
>
> On Monday, 27 January 2014 23:47:05 UTC-5, horridohobbyist wrote:
>>
>> 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.

Reply via email to