Hi all, I ran into this error trying to migrate my apps with a blank Postgres database.
django.db.utils.ProgrammingError: relation "django_site" does not exist LINE 1: ..."django_site"."domain", "django_site"."name" FROM "django_si... The issue was raised by others (e.g. on SOF http://stackoverflow.com/questions/23925726/django-relation-django-site-does-not-exist) but not really solved. I realised that I could work around this issue by Step 1: commenting out all of the apps that I custom built from (A) INSTALLED_APPS and (B) urls.py Step 2: running .manage.py migrate Step 3: commenting my apps back in Step 4: running .manage.py migrate But this doesn't seem right. None of the suggestions out there have worked for me, including: ./manage.py migrate sites (which results in the same error). In fact, whatever migrate or makemigrations command I run, it all results in the "relation "django_site" does not exist" error. So I came across this, where the last comms dates back less than 2 weeks with Simon Charette taking it to the irc channel. https://code.djangoproject.com/ticket/24524 Is there any follow-up from this? Thanks! /Malte -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/6eb6928f-8b72-45bd-b856-aff19edbb0d5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

