Peter Rowell schrieb: > Are you asking how to run a standalone Django script? If so, the > following gives you a fully initialized Django environment. > > No, I want to run a python script if a database table gets created. The static sql/mymodel.sql files are not enough for my case.
I found this. The solution is post_syncdb signal: http://www.b-list.org/weblog/2007/nov/21/install-time/ Thomas -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---