Go Live with Django & Heroku
I was following Justin Mitchels blog post about Going Live with Django and Heroku I need to populate the database with a significant amount of data and I’ve been using python manage.py loaddata --format json arch2json_all.json Installed 221994 object(s) from 1 fixture(s) In development with sqlite3 this works great. Switch to my production branch push things up to Heroku $ git push heroku master $ heroku run python manage.py makemigrations $ heroku run python manage.py migrate Run into problems when I try to load the fixture. $ heroku run bash $ python manage.py loaddata --format json arch2json_all.json django.db.utils.DataError: Problem installing fixture '/app/items/fixtures/arch2json_all.json': Could not load items.Monolithic(pk=None): value too long for type character varying(1024) Looking in the usual locations I find a couple potential answers. https://stackoverflow.com/questions/9036102/databaseerror-value-too-long-for-type-character-varying100 Could it be a ...