예제 #1
0
파일: views.py 프로젝트: radez/thermal
 def post(self, request, *args, **kwargs):
     t = self._get_template(kwargs['template_name'])
     result = Stack.launch(t, request.POST.copy())
     response = HttpResponseRedirect('/heat/stack/')
     return response
예제 #2
0
 def post(self, request, *args, **kwargs):
     t = self._get_template(kwargs['template_name'])
     result = Stack.launch(t, request.POST.copy())
     response = HttpResponseRedirect('/heat/stack/')
     return response
예제 #3
0
파일: views.py 프로젝트: radez/thermal
 def get(self, request, stack_name):
     Stack.delete(stack_name)
     response = HttpResponseRedirect('/heat/stack/')
     return response
예제 #4
0
 def get(self, request, stack_name):
     Stack.delete(stack_name)
     response = HttpResponseRedirect('/heat/stack/')
     return response