Removed another openebula call after submitting landing page calculator

This commit is contained in:
PCoder 2017-07-27 11:25:48 +05:30
parent 8485819caa
commit 1a6e497e38
1 changed files with 1 additions and 3 deletions

View File

@ -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')