1 from django.template import RequestContext
2 from django.shortcuts import render_to_response
4 from manifold.core.query import Query, AnalyzedQuery
5 from manifoldapi.manifoldapi import execute_query
7 from django.views.generic.base import TemplateView
9 from unfold.loginrequired import LoginRequiredView
10 from django.http import HttpResponse
11 from django.shortcuts import render
13 from unfold.page import Page
14 from manifold.core.query import Query, AnalyzedQuery
15 from manifoldapi.manifoldapi import execute_query
17 from myslice.theme import ThemeView
19 class SliceInfoView (LoginRequiredView, ThemeView):
20 template_name = "slice-tab-info.html"
22 def get(self, request, slicename):
23 return render_to_response(self.template, {"slice": slicename, "theme": self.theme, "username": request.user, "section":"slice"}, context_instance=RequestContext(request))