From 059cad5d3225967287171a5d1b1cb7a1ae12ee56 Mon Sep 17 00:00:00 2001 From: Sven van de Scheur Date: Thu, 16 Nov 2023 13:07:26 +0100 Subject: [PATCH] :wrench: - feat: allow configuration of GEOS_LIBRARY_PATH and GDAL_LIBRARY_PATH via environment variables and .env file. --- src/open_inwoner/conf/base.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/open_inwoner/conf/base.py b/src/open_inwoner/conf/base.py index dbbec34055..5ba071c9a7 100644 --- a/src/open_inwoner/conf/base.py +++ b/src/open_inwoner/conf/base.py @@ -71,6 +71,10 @@ } } +# Geospatial libraries +GEOS_LIBRARY_PATH = config("GEOS_LIBRARY_PATH", None) +GDAL_LIBRARY_PATH = config("GDAL_LIBRARY_PATH", None) + CACHES = { "default": { "BACKEND": "django_redis.cache.RedisCache",