Hello,
sorry for comming of with this again.

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


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to