Question: When upgrading to Django 1.8 (with zc.buildout) and running syncdb or migrate, I get this message:

`django.db.utils.ProgrammingError: relation "auth_user" does not exist`

One of my models contains django.contrib.auth.models.User:

```
user = models.ForeignKey(
    User, related_name='%(app_label)s_%(class)s_user',
    blank=True, null=True, editable=False
)

```

Downgrading to Django 1.7 removes the error. Do I have to include the User object differently in Django 1.8?

Answer: 
On my environment, I fix this running `makemigrations` on all apps that have relationship with `django.contrib.auth.models`:

```

manage.py makemigrations app_with_user_relation
manage.py migrate

```
If you are using heroku like I was run

```
heroku run python manage.py makemigrations

```

This will likely give you a message saying there are now changes. Ignore that then run

```
heroku run python manage.py migrate

```

this will give you some output suggesting something has been done.
Finally run 

```
heroku run python manage.py createsuperuser

```