python - Problems installing South with Django (south_migrationhistory tables do not get created) -
i cannot seem working.
i need south migrations bunch of apps.
- downloaded south 0.7.3
- unzipped, ran setup.py develop (as says in turorial)
double checked see if south should going python interpreter , doing (no errors)
import south
i
c:\users\j\imicode\imi_admin>python ./manage.py syncdb
syncing... no fixtures found.
synced: > django.contrib.auth > django.contrib.contenttypes > django.contrib.sessions > django.contrib.sites > django.contrib.messages > django.contrib.admin not synced (use migrations): - south (use ./manage.py migrate migrate these)
-at point understand south should have been synced correct? else after this, complains have no south_migrationhistory tables in database.
ps. working django 1.2.7, python 2.6, on windows7
it seems me bug in south.
also may cause doing wrong thigs like: running schemamigration --auto south
, etc. suggestion install running python setup.py install
or through easy_install or pip
south documentation says: "once south added in, you’ll need run ./manage.py syncdb make south migration-tracking tables (south doesn’t use migrations own models, various reasons)."
but output says south skipped making tables own models because thought south app used migrations
as workaround use
python manage.py syncdb --all
which causes tables regardless of migrations synchronized ,
python manage.py migrate --fake
to fake migrations.
Comments
Post a Comment