Removed another openebula call after submitting landing page calculator
This commit is contained in:
parent
8485819caa
commit
1a6e497e38
1 changed files with 1 additions and 3 deletions
|
@ -212,9 +212,7 @@ class IndexView(CreateView):
|
|||
storage = request.POST.get('storage')
|
||||
price = request.POST.get('total')
|
||||
template_id = int(request.POST.get('config'))
|
||||
manager = OpenNebulaManager()
|
||||
template = manager.get_template(template_id)
|
||||
template_data = VirtualMachineTemplateSerializer(template).data
|
||||
template_data = VMTemplate.objects.all()
|
||||
|
||||
name = request.POST.get('name')
|
||||
email = request.POST.get('email')
|
||||
|
|
Loading…
Reference in a new issue