Django south data migration – resolving a model that have the same names

I have multiple apps with the same model names and am doing a migration between them.


Resolve them via string notation in south.


PS: Note that when creating the blank data migration, you will need to pass in the `–freeze` option to add the model that isn’t in the app the migration is created from.

For example…

python datamigration appX migrating_appY_data_to_appX --freeze appY

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s