From 05602f07f581958988e39687e7f5b081279e5f45 Mon Sep 17 00:00:00 2001 From: Mihai Prica Date: Tue, 23 Jul 2013 10:57:26 +0300 Subject: python-horizon: Changed DEBUG to True If DEBUG is set to False the static files are not loaded correctly. Signed-off-by: Mihai Prica --- meta-openstack/recipes-devtools/python/python-horizon_2013.1.2.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'meta-openstack/recipes-devtools/python/python-horizon_2013.1.2.bb') diff --git a/meta-openstack/recipes-devtools/python/python-horizon_2013.1.2.bb b/meta-openstack/recipes-devtools/python/python-horizon_2013.1.2.bb index fcf3e38..3548e22 100644 --- a/meta-openstack/recipes-devtools/python/python-horizon_2013.1.2.bb +++ b/meta-openstack/recipes-devtools/python/python-horizon_2013.1.2.bb @@ -39,10 +39,8 @@ do_install_append() { DASHBOARD_DIR=${D}${PYTHON_SITEPACKAGES_DIR}/openstack_dashboard sed -e "s:^LANGUAGE_CODE =.*:LANGUAGE_CODE = 'en-us':g" \ -i ${DASHBOARD_DIR}/settings.py - sed -e "s:^DEBUG =.*:DEBUG = False:g" \ - ${DASHBOARD_DIR}/local/local_settings.py.example > ${DASHBOARD_DIR}/local/local_settings.py sed -e "s:^# from horizon.utils:from horizon.utils:g" \ - -i ${DASHBOARD_DIR}/local/local_settings.py + ${DASHBOARD_DIR}/local/local_settings.py.example > ${DASHBOARD_DIR}/local/local_settings.py sed -e "s:^# SECRET_KEY =:SECRET_KEY =:g" \ -i ${DASHBOARD_DIR}/local/local_settings.py install -m 644 ${S}/manage.py ${DASHBOARD_DIR}/manage.py -- cgit v1.2.3-54-g00ecf