16👍
My guide says:
- Install South on server.
import south
from shell just to make sure you are using the same python env. - Add
'south'
toINSTALLED_APPS
insettings.py
. - Upload
settings.py
. - Restart server
python manage.py syncdb
.- Upload new
app/models.py
andapp/migrations/
dir. - Restart server.
python manage.py migrate app --fake 0001
python manage.py migrate app
👤ppvi
4👍
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. 🙂
👤AKX
- Put the result of simple tag into a variable
- Best practice of testing django-rq ( python-rq ) in Django
0👍
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
- In Django admin, how can I hide Save and Continue and Save and Add Another buttons on a model admin?
Source:stackexchange.com