Created
July 16, 2012 07:58
-
-
Save mrchilds/3121438 to your computer and use it in GitHub Desktop.
Django South - Quick Help
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Convert Existing App | |
$ python manage.py convert_to_south APP_NAME --settings settings_debug | |
# Perform model change on development | |
$ python manage.py schemamigration APP_NAME --auto --settings settings_debug | |
$ python manage.py migrate APP_NAME --settings settings_debug.py | |
# Perform change on live server (assumes migration was applied and checked in on development) | |
$ python manage.py migrate APP_NAME 0001 --fake | |
$ python manage.py migrate APP_NAME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment