South is another Django app that you can run on demand when you make a change to your app Models.
Why do you want to uninstall South after the alteration? Let it be there and manage your App Models with South. It is better than just syncdb. On Sun, May 15, 2011 at 12:49 AM, Chris Seberino <cseber...@gmail.com>wrote: > 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 <sh...@milochik.com> 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 django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- AJ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.