From 0446a97cdf31656ee16c0a30a262fbc988f1b3c9 Mon Sep 17 00:00:00 2001 From: Abishek Subramanian Date: Mon, 17 Mar 2014 14:38:06 -0400 Subject: [PATCH] Fix project name in the table for Cisco N1K profiles This is a fix to ensure that the project names for the projects that use the Cisco N1K profiles are correctly displayed in the tables for the Cisco profiles. This essentially entails changing "tenant"/"project_id" to "project" in the forms.py and views.py files; and changing "project_id" to just "id" in the tables.py file. Additionally removing the lines of code for class EditPolicyProfile from the tables.py file. This class is not in any use anywhere and also Policy profiles are uneditable right now. The url it was referring to was also the wrong one. Made sense to just do away with it. Closes-bug: #1229811 Change-Id: Ib7fb79ba5bef8a50cdb500db6e62694aca6aa640 --- openstack_dashboard/test/settings.py | 1 - 1 file changed, 1 deletion(-) diff --git a/openstack_dashboard/test/settings.py b/openstack_dashboard/test/settings.py index 34fa86d..e2f5972 100644 --- a/openstack_dashboard/test/settings.py +++ b/openstack_dashboard/test/settings.py @@ -68,7 +68,6 @@ HORIZON_CONFIG = { # using run_tests will require the registration of the "router" dashboard. # TODO (absubram): Need to make this permanent when a better solution # for run_tests is implemented to use with and without the n1k sub-plugin. - #'openstack_dashboard.dashboards.router', #'dashboards': ('project', 'admin', 'settings', 'router',), 'default_dashboard': 'project', "password_validator": {