Install FastData and use formmaker.fields_for:

http://trac.turbogears.org/turbogears/browser/projects/FastData/trunk/tgfastdata/formmaker.py#L124

Example:

from model import Page

fields_list = fields_for(Page)

And you're done. ;-)
 
Argl, I could have used that info 8 hours ago, when I started that reptetive work :p


Thanks everyone!




--
Mvg,
Joris Vanhove
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to