[Django]-Django dumpdata => load on heroku

3👍

The end of the stacktrace has the key:

relation "django_content_type"     does not exist
LINE 1: UPDATE "django_content_type" SET "name" = 'log entry', "app_... 

The table django_content_type does not exist. Try running the migrations:

heroku run python manage.py migrate

or, if you are using an old version:

heroku run python manage.py setupdb

Leave a comment