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 SliceTabMeasurements (LoginRequiredView, ThemeView):
9 template_name = "slice-tab-measurement.html"
11 def get(self, request, slicename):
12 return render_to_response(self.template, {"theme": self.theme, "username": request.user, "slice" : slicename, "section":"measurements"}, context_instance=RequestContext(request))