mirror of
https://github.com/YunoHost-Apps/django_example_ynh.git
synced 2024-09-03 18:26:21 +02:00
30 lines
838 B
TOML
30 lines
838 B
TOML
version = "1.0"
|
|
|
|
[main]
|
|
name = "django_example_ynh configuration"
|
|
services = ["__APP__"]
|
|
|
|
[main.config]
|
|
name = "Configuration Options"
|
|
|
|
[main.config.admin_email]
|
|
ask = "ADMIN email"
|
|
type = "string"
|
|
help = "EMail address for error emails."
|
|
default = "root@localhost"
|
|
bind = "admin_email:__FINALPATH__/settings.py"
|
|
|
|
[main.config.debug_enabled]
|
|
ask = "DEBUG mode"
|
|
type = "boolean"
|
|
yes = "1"
|
|
no = "0"
|
|
help = "Should be never enabled in production!"
|
|
bind = "debug_enabled:__FINALPATH__/settings.py"
|
|
|
|
[main.config.log_level]
|
|
type = "string"
|
|
ask = "Log Level"
|
|
choices = ["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"]
|
|
default = "WARNING"
|
|
bind = "log_level:__FINALPATH__/settings.py"
|