Esempio n. 1
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
Esempio n. 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
Esempio n. 3
0
 def get(self, request, stack_name):
     Stack.delete(stack_name)
     response = HttpResponseRedirect('/heat/stack/')
     return response
Esempio n. 4
0
 def get(self, request, stack_name):
     Stack.delete(stack_name)
     response = HttpResponseRedirect('/heat/stack/')
     return response