My first post in the group:
I think if web2py have something like this or can be implemented:
db.define_table('puppy',
SQLField('name',label='A puppy'),
SQLField('image','upload', label='Photo'))
Would be grat, this is for Not having to write:
db.puppy.name.label = "A puppy"
db.puppy.image.label = "Photo"
and the forms created with SQLForm() set automaticaly the labels and
if not labels defined, the actual behaviour
Thanks in advance
Mauricio
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---