I\'m attempting to run heroku run python manage.py syncdb on my GeoDjango app on Heroku, but I get the following error:
heroku run python manage.py syncdb
AttributeError: \'Databa
I was having the same problem and I had to change:
'ENGINE': 'django.db.backends.postgresql_psycopg2',
to:
'ENGINE': 'django.contrib.gis.db.backends.postgis',