Open AstraLuma opened 6 years ago
If BUILD_WITH_GEO_LIBRARIES is set, the wrong database engine is used.
BUILD_WITH_GEO_LIBRARIES
My work-around is:
django_heroku.settings(locals()) if DATABASES['default']['ENGINE'] in ('django.db.backends.postgresql', 'django.db.backends.postgresql_psycopg2'): DATABASES['default']['ENGINE'] = 'django.contrib.gis.db.backends.postgis' elif DATABASES['default']['ENGINE'] == 'django.db.backends.sqlite3': DATABASES['default']['ENGINE'] = 'django.contrib.gis.db.backends.spatialite'
I would happily merge a pull request that fixes this @astronouth7303
I've open a pull request to fix this issue: https://github.com/heroku/django-heroku/pull/36
If
BUILD_WITH_GEO_LIBRARIES
is set, the wrong database engine is used.My work-around is: