Skip to content Skip to sidebar Skip to footer

Geodjango: Postgresql Not Running Migrations, Object Has No Attribute 'geo_db_type

Django v1.11.5 I'm trying to install GeoDjango to play around with GoogleMaps. I installed PostgreSQL app for MAC and installed pip install psycopg2. I also used home-brew to insta

Solution 1:

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.

Post a Comment for "Geodjango: Postgresql Not Running Migrations, Object Has No Attribute 'geo_db_type"