also me..
On 11/11/2010, Mirek Zvolský wrote:
> I have simplest model:
>
> db.define_table('company',
> Field('name'),
> Field('created_by', 'reference person'))
> db.define_table('person',
> Field('last_name'),
> Field('company_id', 'reference company'))
>
> but I receive error:
The error is with 'reference person'?
You have to define 'person' previously.
Best regards,
Mariano Reingart
http://www.sistemasagiles.com.ar
http://reingart.blogspot.com
2010/11/11 Mirek Zvolský :
> I have simplest model:
>
> db.define_table('company',
> Field('name'),
> Field('created
I have simplest model:
db.define_table('company',
Field('name'),
Field('created_by', 'reference person'))
db.define_table('person',
Field('last_name'),
Field('company_id', 'reference company'))
but I receive error:
File "C:\Python27\Lib\site-packages\web2py\gluon\sql.py", line 1
3 matches
Mail list logo