Hi,
Do you not need to specify a type='string' etc ?
Regards,
nils
On Wed, Feb 22, 2012 at 7:16 PM, davidjensen wrote:
> In db.py, I created a db 'contacts' with a table 'mytable'. I later
> added a field 'date' to mytable.
>
> db.define_table('mytable',
> Field('date',requires=IS_NOT_EMPTY(
In db.py, I created a db 'contacts' with a table 'mytable'. I later
added a field 'date' to mytable.
db.define_table('mytable',
Field('date',requires=IS_NOT_EMPTY()),
Field('name',requires=IS_NOT_EMPTY()),
Field('organization'),
Field('notes','text', requires=IS_NOT_EMPTY())
)
2 matches
Mail list logo