magopian / django-data-exports

Model data exports for Django
http://django-data-exports.rtfd.org
BSD 3-Clause "New" or "Revised" License
39 stars 12 forks source link

django migrations #12

Open Christophe31 opened 9 years ago

Christophe31 commented 9 years ago

You can't depends on table with migrations enabled if you don't enable them yourself…

When you use migrate on a brand new empty database, it will create non-migrations tables first, as you rely on content type, you should make a (non south) migration file…

easy work-around, you can disable app, migrate and re-enable app… but for fully automated deployment it's not practical…

Here how error message looks like: django.db.utils.ProgrammingError: relation "django_content_type" does not exist