Tuesday, June 16, 2015

Re: Django 1.8 migrate - relation “django_content_type” already exists

Take a look at the migrate --fake-initial option. It's new in 1.8. In 1.7, --fake-initial was an implicit default, but we decided to make it explicit in 1.8.

https://docs.djangoproject.com/en/1.8/ref/django-admin/#django-admin-option---fake-initial

On Tuesday, June 16, 2015 at 3:22:39 PM UTC-4, Adam Teale wrote:
Hi Guys,

Any idea why I would be getting this error when I try to migrate?

django.db.utils.ProgrammingError: relation "django_content_type"

I am using using django 1.8 & postgresql

Thanks!

Adam

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/0817de32-fa2a-4b63-84df-99758b49ebe5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment