1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/weblate_ynh.git synced 2024-10-01 13:35:04 +02:00

readd the possibility to have local_settings

This commit is contained in:
Thomas 2024-01-24 13:43:58 +01:00 committed by GitHub
parent 1e0d93a796
commit f12783dd3a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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