Dear web2py users,
While trying to work my way through smartgrid, i discovered that there are 
2 Bugs in the web2py documentation [quick] Examples # 29. See:

https://www.web2py.com/examples/default/examples#database_examples

1. around line 11.

#BUG:
Field <https://www.web2py.com/examples/global/vars/Field>('seller_id',
db_person),

#GOOD:
Field <https://www.web2py.com/examples/global/vars/Field>('seller_id',db.
person),



2. around line 26. 
 

#BUG:
purchased = \n    (db.person.id==db.purchase.buyer_id)&\n    
(db.product.id==db.purchase.product_id)

#GOOD:
purchased = (db.person.id==db.purchase.buyer_id) & 
(db.product.id==db.purchase.product_id)


Thanks for the GREAT framework.

Love and peace,

Joe


-- 



Reply via email to