fields.append(Field('school', 'string' , label=T('School Name?')
, widget=SQLFORM.widgets.autocomplete(request , name_list, limitby=(0,10), min_length=0)
, requires=IS_NOT_EMPTY()))
...
enter_data_form=SQLFORM.factory(*fields, table_name='enter_data')
I get the following:
<type 'exceptions.AttributeError'> 'list' object has no attribute 'tablename'
which I interpret to mean that 'list' in this case means something different than I expected.
What am I doing wrong?
Thanks