Hi: I've made a test command generator tool that could generate the
http://docs.turbogears.org/1.0/CRUDTemplate In current stage ['ModelFields', 'save method', 'list.kid', 'show.kid'] are not good for autogeneration. After analyze this doc I found we still need some work to achive an automatic crud generator: 1. An automatic WidgetsList generator (Fastdata 2 ?) for new/edit form (make generated code easy to maintain) 2. A widget which could receive WidgetsList as fields parameter to show the display(no commad)/list(append command) page (DataGrid?) 3. A widget which could receive WidgetsList as fields parameter to show the detail page 4. save() method problem. def save(self, id=None, **kw): for attr in kw: setattr(self, attr, kw[attr]) BookMark(name = self.name, url = self.url, excerpt = self.excerpt, memo = self.memo) To make a general generator, is it possible to pass params to BookMark (model class) implicitly? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" 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-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
