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
答案 0 :(得分:1)
当我没有正确使用POSTGIS模板来创建我的数据库时,我得到了这个错误(完全像错误建议的那样)。你是否正确地install PostGIS with the spatial database template并且使用-T template_postgis创建了数据库?
createdb -U postgres -T template_postgis -O geouser geodatabase