Re: [web2py] name 'database table' is not defined

2013-11-23 Thread raferbop
Thanks Eduardo, it worked! On Saturday, November 23, 2013 9:26:17 AM UTC-5, Eduardo Cruz wrote: > > You are using 'animals' in the for loop not *livestock_animal*s, > instead of *livestock_animals* use animals like {{=animals.eartag_number}} > On Sat, 2013-11-23 at 06:18 -0800, raferbop wrote: >

Re: [web2py] name 'database table' is not defined

2013-11-23 Thread Eduardo Manuel Cruz Betances
You are using 'animals' in the for loop not livestock_animals, instead of livestock_animals use animals like {{=animals.eartag_number}} On Sat, 2013-11-23 at 06:18 -0800, raferbop wrote: > # Model > > > db.define_table('livestock_animals', > Field('eartag_number'), >

[web2py] name 'database table' is not defined

2013-11-23 Thread raferbop
# Model db.define_table('livestock_animals', Field('eartag_number'), Field('retagged_number'), Field('dob', 'date'), Field('breed', db.breed), Field('sex', db.sex), Field('dam'), Field('