What steps will reproduce the problem? db.define_table('person',
SQLField('name'),
SQLField('email'),
SQLField('phone'),
SQLField('foto','upload'),
SQLField('manager','reference person')
) What version of the product are you using? On what operating system? trunk
Attached is a patch that fixes the bug in gql.py and adds self references
to the doctests.
From robi...@gmail.com on January 25, 2009 06:03:06
What steps will reproduce the problem? db.define_table('person', SQLField('name'), SQLField('email'), SQLField('phone'), SQLField('foto','upload'), SQLField('manager','reference person') ) What version of the product are you using? On what operating system? trunk
Attached is a patch that fixes the bug in gql.py and adds self references to the doctests.
Attachment: gql_self_ref_doctests.patch
Original issue: http://code.google.com/p/web2py/issues/detail?id=25