Monday 13 August 2012

AttributeError: 'DatabaseOperations' object has no attribute 'geo_db_type' in case of mysql

In case of mysql database to handle this error add the following line in the DATABASE engine of the setting.py file :
 'ENGINE': 'django.contrib.gis.db.backends.mysql',
which can enable the GIS(Geographic Information System) library in the django project. The error is also discussed at the following link: http://stackoverflow.com/questions/4578352/geodjango-using-mysql 

No comments:

Post a Comment