From 1a6e497e385a1b4c6bea0033ea6d764668e48f4b Mon Sep 17 00:00:00 2001 From: PCoder Date: Thu, 27 Jul 2017 11:25:48 +0530 Subject: [PATCH] Removed another openebula call after submitting landing page calculator --- datacenterlight/views.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/datacenterlight/views.py b/datacenterlight/views.py index 57f7d32a..401be537 100644 --- a/datacenterlight/views.py +++ b/datacenterlight/views.py @@ -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')