django.core.exceptions.ImproperlyConfigured: Cannot determine PostGIS version for database "geodatabase". GeoDjango requires at least PostGIS version 1.3. Was the database created from a spatial database template?这是我在学习本教程http://invisibleroads.com/tutorials/geodjango-googlemaps-build.html时得到的错误
发布于 2011-05-11 08:14:19
当我没有正确使用POSTGIS模板来创建我的数据库时(正如错误所暗示的那样),我得到了这个错误。那么,您是否正确地使用install PostGIS with the spatial database template,以及您是否使用-T template_postgis创建了数据库?
createdb -U postgres -T template_postgis -O geouser geodatabasehttps://stackoverflow.com/questions/5907672
复制相似问题