1 from django.template import RequestContext
2 from django.shortcuts import render_to_response
4 from unfold.loginrequired import LoginRequiredView
6 from myslice.theme import ThemeView
8 class SliceTabTestbeds (LoginRequiredView, ThemeView):
9 template_name = "slice-tab-testbeds.html"
11 def get(self, request, slicename):
12 return render_to_response(self.template, {"theme": self.theme, "username": request.user, "slice" : slicename, "section":"testbeds"}, context_instance=RequestContext(request))