GeoDjango: PostgreSQL not running migrations, object has no attribute 'geo_db_type GeoDjango: PostgreSQL not running migrations, object has no attribute 'geo_db_type postgresql postgresql

GeoDjango: PostgreSQL not running migrations, object has no attribute 'geo_db_type


You need to change your DATABASES setting to use the postgis backend,

'ENGINE': 'django.contrib.gis.db.backends.postgis',

and add 'django.contrib.gis', to INSTALLED_APPS.