Search code examples
djangopython-2.7django-1.7django-migrationsdjango-1.8

Django 1.8 migrate: django_content_type does not exist


I just upgraded my django from 1.7.1 to 1.8.4. I tried to run python manage.py migrate but I got this error:

django.db.utils.ProgrammingError: relation "django_content_type" does not exist

I dropped my database, created a new one, and ran the command again. But I get the same error. Am I missing something? Do I need to do something for upgrading my django?

EDIT: I downgraded back to 1.7.1 and it works. Is there a way to fix it for 1.8.4?


Solution

  • Well, I found the issue. I have auditlog installed as one my apps. I removed it and migrate works fine.