Sorry I miss read... I thought you were asking if it will works if you
use products instead of Products.

;-)

Richard

On Mon, Feb 28, 2011 at 3:15 PM, DenesL <denes1...@yahoo.ca> wrote:
>
> There has been quite a few posts/complaints around this.
> Why was this changed? (if it was... I have not checked)
>
>
> On Feb 28, 11:23 am, surfnet3 <surfn...@gmail.com> wrote:
>> The following codes are not working in v1.92.1 but worked in some
>> previous versions:
>>
>> db.define_table(
>>     'Products',
>>     Field('name')
>>     )
>>
>> db.define_table(
>>     'purchases',
>>     Field('product_id', db.Products)
>>     )
>>
>> It would work fine if the table name changed to 'products' instead.

Reply via email to