From f12783dd3a4f3da8f5556d8c7f7e3a256a66bd6f Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Wed, 24 Jan 2024 13:43:58 +0100 Subject: [PATCH] readd the possibility to have local_settings --- conf/settings.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/conf/settings.py b/conf/settings.py index f52fe78..4b75e0a 100644 --- a/conf/settings.py +++ b/conf/settings.py @@ -898,3 +898,9 @@ GOOGLE_ANALYTICS_ID = None SENTRY_DSN = None SENTRY_ENVIRONMENT = SITE_DOMAIN AKISMET_API_KEY = None + +# Yunohost hack so users can define a new conf, and we can just replace the conf +try: + from .local_settings import * +except ImportError: + pass