Created a new detail view for volumes (like instance details).

* fixes bug 944497 and fixes bug 953464.

Change-Id: Idea17ab07f4fa46b72af6b54017899cbfe7e6ef0
This commit is contained in:
Emma Steimann
2012-03-04 00:35:21 -06:00
committed by Gabriel Hurley
parent f7c0dd203d
commit 56d98e5fe2
27 changed files with 1868 additions and 1400 deletions

View File

@@ -20,8 +20,8 @@ class TabView(generic.TemplateView):
def __init__(self):
if not self.tab_group_class:
raise AttributeError("You must set the tab_group attribute on %s."
% self.__class__.__name__)
raise AttributeError("You must set the tab_group_class attribute "
"on %s." % self.__class__.__name__)
def get_tabs(self, request, *args, **kwargs):
return self.tab_group_class(request, **kwargs)