我刚刚安装了GeoDjango (耶),现在我正在尝试使用来设置一个现有的GeoDjango项目,该项目需要OSGB36:domesday=# \c template_postgisYou are now connected to database "template_postgis".
template_
它支持PostGIS,但是当我试图运行迁移命令时,我得到:
django.core.exceptions.ImproperlyConfigured: Cannot determine PostGIS versionGeoDjango requires at least PostGIS version 1.3.没有postgis模板数据库。我通常用来创建模板的脚本会产生大量错误,很可能是因为我正在运行Postgres9.1,而AWS使用9.3。在
我正在尝试使用Postgis设置Geodjango,但无法在数据库中启用Postgis扩展。我正在遵循上的设置,但当我点击此步骤时:我得到以下错误:
ERROR: could not open extension controlfile "/usr/local/Cellar/postgresql/9.3.1/sha