Changes between Version 1 and Version 2 of ConvertingAnApp


Ignore:
Timestamp:
11/24/08 14:24:02 (4 years ago)
Author:
andrew
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ConvertingAnApp

    v1 v2  
    44 
    55 - Edit your settings.py and put 'south' into INSTALLED_APPS (assuming you've [wiki:Download installed] it to the right place) 
     6 - Run `./manage.py syncdb` to load the South table into the database. Note that syncdb looks different now - South modifies it. 
    67 - Run `./manage.py startmigration myapp --initial` - this will create a migrations directory and a first migration that will create the schema you currently have in models.py. 
    78 - Run `./manage.py migrate myapp` to use South to make the tables. If you've already syncdb'd this app, you can run `./manage.py migrate myapp --fake` to trick South into thinking the migrations are already applied (the tables are created, so technically they are, it's just that South didn't make them so it needs informing)