Shawn

Thanks!  Is South just a script that runs?  Can I uninstall after the
conversion if desired?

Or, does it permanently alter a Django app somehow?

cs

On May 14, 10:53 pm, Shawn Milochik <[email protected]> wrote:
> The best way is to use South.
>
> http://south.aeracode.org/
>
> In your current situation, after you install South (pip install then add
> to INSTALLED_APPS, and syncdb to add the South table) you'll just have
> to do this:
>
>      1. manage.py convert_to_south appname #this will set up the basics,
> you'll only do this once
>
>      2. change your model #it should not have changed since the initial
> syncdb until this point
>
>      3. manage.py schemamigration appname name_your_migration --auto
> #create a South migration file
>
>      4. manage.py migrate #apply the South migration file
>
> In the future you'll only need to do steps 2 - 4.
>
> You can also do a datamigration so that, for example, you can do a
> schemamigration, move/change some data, then another schemamigration to
> clean up orphaned fields or whatever.
>
> There's also a south-users mailing list on Google Groups.
>
> Shawn

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to