Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Version 2 (modified by rob@…, 13 years ago) (diff)


DataController is fast method of providing CRUD:

from turbogears.fastdata import DataController

class MyApp(controllers.RootController):
    mycrud = DataController(MyModelClass) # provides a quick
                                          # 'n' dirty CatWalk-like
                                          # CRUD interface for your MyModelClass

TODO: Provide more information on how to customise this, eg. get the generated page to extend master.kid