Fred, that sounds great! Does it work for both SO and SA? Iain
On Fri, 2007-26-01 at 09:06 +0000, [EMAIL PROTECTED] wrote: > tgcrud was imported into turbogears svn project > > http://trac.turbogears.org/browser/projects/tgcrud/trunk > > It's pretty easy to use. > > 1. define your model > 2. enter your project, type > $ tg-admin crud [your specific Model class name] [expect package name] > > ex: if the model name is BookMark, the package name is admin, the > command is > $ tg-admin crud BookMark admin > > then the 'admin' package is generated. > > 3. import the package to your controllers.py with a line > > from admin import admin > > and add a branch on your Root(): > > foo = admin() > > 4. Customize the form filed in admin/controllers.py > > 5. open the http://localhost:8080/foo to use the customizable interface. > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
