1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/django-fmd_ynh.git synced 2024-09-03 18:26:27 +02:00
django-fmd_ynh/config_panel.toml

43 lines
1.4 KiB
TOML
Raw Normal View History

# https://yunohost.org/en/packaging_config_panels
2022-07-11 20:34:24 +02:00
# https://github.com/YunoHost/example_ynh/blob/master/config_panel.toml.example
version = "1.0"
[main]
name.en = "Main configuration"
name.fr = "Configuration principale"
2022-08-16 08:59:39 +02:00
services = ["__APP__"]
2022-07-11 20:34:24 +02:00
2022-08-16 08:59:39 +02:00
[main.config]
name = "Configuration Options"
2022-07-11 20:34:24 +02:00
2022-08-16 08:59:39 +02:00
[main.config.default_from_email]
ask = "from email"
type = "email"
2022-08-16 08:59:39 +02:00
help = "Default email address to use for various automated emails."
#
# We can't use "__DATA_DIR__" in bind value, because of this bug:
# https://github.com/YunoHost/issues/issues/2283
bind = "default_from_email:/home/yunohost.app/__APP__/settings.py"
2022-07-11 20:34:24 +02:00
2022-08-16 08:59:39 +02:00
[main.config.admin_email]
ask = "ADMIN email"
type = "email"
2022-08-16 08:59:39 +02:00
help = "EMail address for error emails."
bind = "admin_email:/home/yunohost.app/__APP__/settings.py"
2022-08-16 08:59:39 +02:00
[main.config.debug_enabled]
ask = "DEBUG mode"
2022-07-11 20:34:24 +02:00
type = "boolean"
2022-08-16 08:59:39 +02:00
yes = "1"
no = "0"
2024-08-27 20:15:49 +02:00
help = "Enable DEBUG mode? (Should be never enabled in production!)"
bind = "debug_enabled:/home/yunohost.app/__APP__/settings.py"
2022-08-16 08:59:39 +02:00
[main.config.log_level]
type = "string"
ask = "Log Level"
choices = ["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"]
default = "WARNING"
bind = "log_level:/home/yunohost.app/__APP__/settings.py"