diff --git a/config_panel.toml b/config_panel.toml index a56e6e4..f8801b4 100644 --- a/config_panel.toml +++ b/config_panel.toml @@ -15,6 +15,6 @@ name = "Settings" ask = "debug mode" help = "Important: Never activate this settings.DEBUG on production!" type = "boolean" - yes = "True" - no = "False" - bind = "DJANGO_DEBUG:/opt/yunohost/__APP__/local_settings.py" + yes = "true" + no = "false" + bind = "DJANGO_DEBUG:__FINALPATH__/local_settings.py" diff --git a/scripts/install b/scripts/install index 7550d58..f397203 100755 --- a/scripts/install +++ b/scripts/install @@ -58,7 +58,7 @@ admin_mail=$(ynh_user_get_info --username="$admin" --key=mail) redis_db=$(ynh_redis_get_free_db) # Always deactivate settings.DEBUG: -ynh_app_setting_set --app=$app --key=django_debug --value="0" +ynh_app_setting_set --app=$app --key=django_debug --value="false" #================================================= # STANDARD MODIFICATIONS