したがって、herokuのビルドパック用にマルチビルドパックがインストールされています
https://github.com/ddollar/heroku-buildpack-multi.git
そして私は.buildpacksファイルを持っています
https://github.com/cyberdelia/heroku-geo-buildpack.git#1.3
https://github.com/heroku/heroku-buildpack-python
インストールは機能しますが、python manage.py makemigrations を実行すると、次のエラーが発生します。
django.core.exceptions.ImproperlyConfigured: Cannot determine PostGIS version
for database "d34ce1ddsg9nkp". GeoDjango requires at least PostGIS version 1.3.
Was the database created from a spatial database template?
次のように、settings.py でデータベースを設定する複数の方法を試しました。
GEOS_LIBRARY_PATH = environ.get('GEOS_LIBRARY_PATH')
GDAL_LIBRARY_PATH = environ.get('GDAL_LIBRARY_PATH')
and
GEOS_LIBRARY_PATH = "{}/libgeos_c.so".format(environ.get('GEOS_LIBRARY_PATH'))
GDAL_LIBRARY_PATH = "{}/libgdal.so".format(environ.get('GDAL_LIBRARY_PATH'))
私は何を間違っていますか?