for testing

This commit is contained in:
ericgaspar 2022-05-19 09:21:47 +02:00
parent 4ea25646c7
commit be5ddfbf60
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 4 additions and 4 deletions

View file

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

View file

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