diff --git a/hosting/templates/hosting/includes/_pricing.html b/hosting/templates/hosting/includes/_pricing.html
index 92033be8..284f0717 100644
--- a/hosting/templates/hosting/includes/_pricing.html
+++ b/hosting/templates/hosting/includes/_pricing.html
@@ -24,6 +24,7 @@
{% csrf_token %}
+
diff --git a/hosting/views.py b/hosting/views.py
index b2625853..f3afca94 100644
--- a/hosting/views.py
+++ b/hosting/views.py
@@ -310,17 +310,17 @@ class PaymentVMView(LoginRequiredMixin, FormView):
order.set_approved()
# Create VM using oppenebula functions
- _request = namedtuple('request', 'POST user')
- _request.user = request.user
+ # _request = namedtuple('request', 'POST user')
+ # _request.user = request.user
# user = namedtuple('user', 'email')
# email
- _request.POST = {
- 'vm_template': vm_template
- }
+ # _request.POST = {
+ # 'vm_template': vm_template
+ # }
hosting_admin = HostingManageVMAdmin.__new__(HostingManageVMAdmin)
- hosting_admin.init_opennebula_client(_request)
- hosting_admin.create(_request)
+ hosting_admin.init_opennebula_client(request)
+ hosting_admin.create(request)
# Send notification to ungleich as soon as VM has been booked
context = {