I defined my table like:
> db.define_table('table1',SQLField('name',label='Name'))
But in the output table I still get:
table1.id table1.name.
Why can this be?
Here comes an improvement suggestion for the db admin:
we can define default values for tables:
* field names
* field labels
* field types
* field validators
If one looks at this, this is just tabular data:
field1.name, field1.label, field1.type, field1.validator
field2.name, field2.label, field2.type, field2.validator
As web2py is so database intelligent, why not letting users enter this
data via a entry for in the data base backend?
This will then be inserted in the metatable of table1.
I tried this with a simple csv file and it reduced already by typing!
I think this could help to improve the usability.
Thanks,
Timmie
But the second header should be at least:
ID Name ...
> header should read the predefined label as well as
SQLFORM
[...]
> I agree. In 1.56.
But I cannot see this having an effect.
I am running a bzr branch from last week.
Please clarify or post an example.
> working on something like that.
Great!
Thanks,
Timmie