On Tuesday, September 6, 2016 at 7:37:54 AM UTC-7, Massimo Di Pierro wrote:
>
> yes. Items is a reserved keyword for this reason.
>

The trick is knowing which keywords are reserved, before trying to use them 
and getting an error message  :-)

/dps
 

>
> On Friday, 2 September 2016 05:02:52 UTC-5, Dave S wrote:
>>
>>
>>
>> On Thursday, September 1, 2016 at 6:46:10 PM UTC-7, Brian Boatright wrote:
>>>
>>> so it's just something in the web2py code base that has a problem with 
>>> the word "items" as a database table name. 
>>>
>>
>> I can confirm this behavior.  My investigation seems to show that DAL has 
>> a  method called "items", and the hasattr() check at base.py#815 picks this 
>> up.
>>
>> /dps
>>
>>
>>

-- 
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/d/optout.

Reply via email to