diff --git a/requirements.in b/requirements.in index a6405c492..92b5f4889 100644 --- a/requirements.in +++ b/requirements.in @@ -8,7 +8,7 @@ django-filter django-logger-extra@https://github.com/City-of-Helsinki/django-logger-extra/archive/refs/tags/v0.1.0.zip django-modeltranslation django-mptt~=0.18 -django-munigeo@https://github.com/City-of-Helsinki/django-munigeo/archive/refs/tags/v0.2.89.zip +django-munigeo@https://github.com/City-of-Helsinki/django-munigeo/archive/refs/tags/v0.2.90.zip django-polymorphic>=3.1 django-two-factor-auth django-two-factor-auth[phonenumbers] diff --git a/requirements.txt b/requirements.txt index 8f5f540c4..55d684796 100644 --- a/requirements.txt +++ b/requirements.txt @@ -184,8 +184,8 @@ django-mptt==0.18.0 \ # via # -r requirements.in # django-munigeo -django-munigeo @ https://github.com/City-of-Helsinki/django-munigeo/archive/refs/tags/v0.2.89.zip \ - --hash=sha256:571d9bc73ffeb771f9d5fcfb740242188f76f13da9e285a14057e9d759ed8593 +django-munigeo @ https://github.com/City-of-Helsinki/django-munigeo/archive/refs/tags/v0.2.90.zip \ + --hash=sha256:2d432b00ed739e3d3d8a0488d2b4f72a1ca556e1fb8877abecb0863845f915b5 # via -r requirements.in django-otp==1.6.1 \ --hash=sha256:68dafa008921fd418382492d81b717636d8cc1364e24e8f9222b72264adf3c5d \ diff --git a/smbackend/settings.py b/smbackend/settings.py index f407d88e6..042682c93 100644 --- a/smbackend/settings.py +++ b/smbackend/settings.py @@ -61,6 +61,7 @@ CSP_ENABLED=(bool, False), CSP_REPORT_ONLY=(bool, True), CSP_REPORT_URI=(str, None), + IMPORT_DATA_PATH=(str, None), ) env_path = BASE_DIR / ".env" @@ -84,6 +85,7 @@ EMAIL_HOST_PASSWORD = env("EMAIL_HOST_PASSWORD") OTP_EMAIL_SENDER = env("OTP_EMAIL_SENDER") PICTURE_URL_REWRITE_ENABLED = env("PICTURE_URL_REWRITE_ENABLED") +IMPORT_DATA_PATH = env("IMPORT_DATA_PATH") # Application definition INSTALLED_APPS = [ @@ -184,6 +186,7 @@ def gettext(s): TASTYPIE_DEFAULT_FORMATS = ["json"] DEFAULT_SRID = 3067 # ETRS TM35-FIN +PROJECTION_SRID = 3067 ADDRESS_SEARCH_RADIUS = env("ADDRESS_SEARCH_RADIUS") # The Finnish national grid coordinates in TM35-FIN according to JHS-180 # specification. We use it as a bounding box.