Edwin
unread,Jan 6, 2011, 3:49:57 PM1/6/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to South Users
Hi,
When I run south migration, my initial sql data is not executed
(running v0.7). Ideally, I would want to have all my tables created
first during the migration, then insert some initial data using a sql
file. Upon looking at south's source code, I don't see if south is
actually running initial sql like what Django's syncdb does. Is this
actually supported in South? If it doesn't, when will it be supported?
If it won't be supported, why?
My current solution is to listen to post_migrate signal and define a
handler that manually installs initial SQL file if it finds any in the
current app. However, this method is not very clean in my opinion..
Thanks for your help.