Hello guys.

I have answer this two times in the past 2 days on IRC, which i think
is something that could be back ported or at least write some
documentation.

The issue at hand is that people want to prepopulate either test data
or default SQL rows values, to their models.

a long time ago I don't even remember how I found out that doing.
$ tg-admin shell < myscript.py
will execute any SO commands in that script, I even have some SO code
that will drop all tables, and rebuild them as necessary.

I assume this trick also works for SA. But it's a weird thing and as
far as I know it isn't documented anywhere.

either way I think this should be a tg-admin command. What do you think?

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to