python - Problems installing South with Django (south_migrationhistory tables do not get created) -


i cannot seem working.

i need south migrations bunch of apps.

  1. downloaded south 0.7.3
  2. unzipped, ran setup.py develop (as says in turorial)
  3. double checked see if south should going python interpreter , doing (no errors)

    import south

  4. 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

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -