Fix django LOGOUT_URL parameter for Ubuntu and CentOS.

This commit should be reverted as soon as bug
https://bugs.launchpad.net/ubuntu/+source/horizon/+bug/1243187
is fixed.
Change-Id: I7fb20586857221e8ea7d9ea08e6cdafdf2aab56b
This commit is contained in:
Timur Sufiev 2013-12-09 14:37:24 +04:00
parent 2d490c512e
commit 0d81b33a3c
2 changed files with 4 additions and 0 deletions

View File

@ -106,6 +106,8 @@ modify_horizon_config() {
log "Adding our data into \"$1\"..."
cat >> $1 << EOF
#START_MURANO_DASHBOARD
#TODO: should remove the next line once https://bugs.launchpad.net/ubuntu/+source/horizon/+bug/1243187 is fixed
LOGOUT_URL = '/dashboard/auth/logout/'
HORIZON_CONFIG['dashboards'] += ('murano',)
INSTALLED_APPS += ('muranodashboard','floppyforms',)
MIDDLEWARE_CLASSES += ('muranodashboard.middleware.ExceptionMiddleware',)

View File

@ -86,6 +86,8 @@ modify_horizon_config() {
log "Adding our data into \"$1\"..."
cat >> $1 << EOF
#START_MURANO_DASHBOARD
#TODO: should remove the next line once https://bugs.launchpad.net/ubuntu/+source/horizon/+bug/1243187 is fixed
LOGOUT_URL = '/horizon/auth/logout/'
HORIZON_CONFIG['dashboards'] += ('murano',)
INSTALLED_APPS += ('muranodashboard','floppyforms',)
MIDDLEWARE_CLASSES += ('muranodashboard.middleware.ExceptionMiddleware',)