Adding South to an existing Django project. I have it installed on both the development machine and the \"production\" server.
I\'ve done the following on the develo
To make sure the south migration table exists,
python manage.py syncdb
and then
python manage.py migrate myproject.myapp --fake 0001
python manage.py migrate myproject.myapp
That's what's worked for me. :)
My guide says:
import south
from shell just to make sure you are using the same python env.'south'
to INSTALLED_APPS
in settings.py
.settings.py
.python manage.py syncdb
.app/models.py
and app/migrations/
dir.python manage.py migrate app --fake 0001
python manage.py migrate app
No need to do this in Django >= 1.7
i am stuck on this more then 1 hour :)
and at last find 1.7 and more have in build upgrading-from-south
for more info https://docs.djangoproject.com/en/1.7/topics/migrations/#upgrading-from-south
may be this one help you