On 10/11/06, Mikkel Høgh <[EMAIL PROTECTED]> wrote: > > Hi guys, > > I've been tinkering a bit with making database models with SQLAlchemy, > and a thing that taxes me a bit is to having to do a tg-admin sql > create and then open a TG shell and start filling the database with > objects again. > > Is it possible (without having to manipulate my TG installation) to > attach a database initiation script to tg-admin sql create, so that the > database is automatically initiated with the data you want...
this is a obscure feature. write your commands in file.txt and then do tg-admin shell < file.txt no if you want to do this went instalation to do something like setting default users then that's another story, it will need a entry point of type turbogears.command. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

