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')
|
storage = request.POST.get('storage')
|
||||||
price = request.POST.get('total')
|
price = request.POST.get('total')
|
||||||
template_id = int(request.POST.get('config'))
|
template_id = int(request.POST.get('config'))
|
||||||
manager = OpenNebulaManager()
|
template_data = VMTemplate.objects.all()
|
||||||
template = manager.get_template(template_id)
|
|
||||||
template_data = VirtualMachineTemplateSerializer(template).data
|
|
||||||
|
|
||||||
name = request.POST.get('name')
|
name = request.POST.get('name')
|
||||||
email = request.POST.get('email')
|
email = request.POST.get('email')
|
||||||
|
|
Loading…
Reference in a new issue