djangosnippets.org: Latest snippets posted by stingydronehttps://djangosnippets.org/users/stingydrone/2011-01-06T15:17:34.687270-06:00stingydronepost_migrate handler to load initial SQL after migrating with south
2011-01-06T15:17:34.687270-06:00stingydronehttps://djangosnippets.org/snippets/2311/<p>I found that South doesn't execute initial sql file after a migration, like what Django can do after syncdb. So here's the workaround by using post_migrate signal.
</p>
<p>Usage:
Put your SQL files the same way as you would if you were to use Django to load your initial SQL file …</p>
Freely redistributable