嗨,我想知道如何用Docker连接POSTGIS到django。usr/share/postgresql/10/extension/postgis.control": No such file or directoryroot@localhost:~/try-geodjango# docker-compose run web python manage.py migrate
Starting try-geodjango_db_1
我有一个配置了GeoDjango的Django应用程序,它在CircleCI 2.0构建上失败了,错误如下:
django.core.exceptions.ImproperlyConfigured: CouldIs GDAL installed? If it is, try setting GDAL_LIBRARY_PATH in your settings.但是,当我在settings.py中从DJANGO_APPS中删除'django.contrib.gis'时,
could not be foundimport os
# Build paths inside the\Users\hades\PycharmProjects\geodjango\venv\lib\site-packages\django\contrib\gis\gdal\datasource.py",\geodjango\venv\lib\site-packag