You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 17, 2018. It is now read-only.
I got errors during migration but everything seems to work in the end.
By the way, I could not run just: manage.py migrate contenttypes && manage.py migrate
because contenttypes depends on auth_permission, but auth_permission depends on sites, and sites depends on my_custom_auth_app (maybe related to https://code.djangoproject.com/ticket/24075 but I'm not sure)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I just migrated to django 1.8
My operations are:
However I get this error after "manage.py migrate" command:
django.db.utils.ProgrammingError: relation "django_content_type" does not exist
The sql command causing the error is:
u'ALTER TABLE "djangoratings_vote" ADD CONSTRAINT "djan_content_type_id_34170de97babd8e2_fk_django_content_type_id" FOREIGN KEY ("content_type_id") REFERENCES "django_content_type" ("id") DEFERRABLE INITIALLY DEFERRED'
If a comment out djangoratings from INSTALLED_APPS, the migrations finishes without problems.
If I issue a "./manage.py showmigrations" I get empty migrations for django ratings.
The exception is raised when running deferred SQL.
I will continue investigating but maybe you know/have a solution.
Thank you.
The text was updated successfully, but these errors were encountered: