GeoDjango with Django 1.2
I’ve been struggling with trying to use geodjango with django 1.2 when all you need to do is update your database settings.
If you are encountering errors like:
AttributeError: 'DatabaseOperations' object has no attribute 'geo_db_type' AttributeError: 'module' object has no attribute 'GeoSQLCompiler'
Set your DATABASE_ENGINE correctly:
'ENGINE': 'django.contrib.gis.db.backends.postgis',
-
achetervefa likes this
-
enpause likes this
-
dsampaolo likes this
-
recette-tagada likes this
-
telephonie-mobile likes this
-
wakameeeeeeeee likes this
-
wakamiii likes this
-
wakami likes this
-
cotorotom likes this
-
czapkahapka likes this
-
czumikakooo likes this
-
globinho326556 likes this
-
howardtharp likes this
-
djangosaur posted this