I am trying to transition to Django 1.9 from my 1.8 app. Simply creating the migrations for old databases is fine, but when I try to create a fresh database with migrate I get:
"Error creating new content types. Please make sure contenttypes " RuntimeError: Error creating new content types. Please make sure contenttypes is migrated before trying to migrate apps individually.
I have tested this a fair bit, and I can get it to build fresh if I: remove my site from URLs, migrate, add it back, and migrate again... but that's super janky, and not the clean build I am looking for. It seems to be caused because in Django/core/management/base.py line 398 -> self.check() is called before the migration occurs, and the lack of a database throws an error and quits before setting up the database (catch 22). I have tested this by commenting this out, and that will also allow it to build the database.
Anyone have any recommendations for what a good way to fix this is or what the underlying problem might be in my app?