Merge "Fix django LOGOUT_URL parameter for Ubuntu and CentOS."

This commit is contained in:
Jenkins 2013-12-09 15:31:22 +00:00 committed by Gerrit Code Review
commit 44f202266f
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',)