Fixed static files for Liberty

Liberty is using a new base path for Horizon.
Added auto discovery of static files to automatically add js files to
Horizon.

Change-Id: I8c0db007314f06d687d173a4f0be957b5f50f580
This commit is contained in:
Stéphane Albert 2015-10-27 09:39:58 +09:00
parent 90dc51c1b9
commit ae26a03c16
2 changed files with 3 additions and 1 deletions

View File

@ -14,6 +14,8 @@
ADD_INSTALLED_APPS = ['cloudkittydashboard']
AUTO_DISCOVER_STATIC_FILES = True
PANEL_GROUP = 'rating'
PANEL_DASHBOARD = 'admin'
PANEL = 'hashmap'

View File

@ -81,7 +81,7 @@ pricing = {
var form_data = [{"service": "compute", "desc": desc_form, "volume": instance_count}];
// send the JSON by a POST request
var url_data = '/project/rating/quote';
var url_data = '/dashboard/project/rating/quote';
this.sendPost(form_data, url_data);
}
},