From e782290eebab5c5797844eefce05eabe3330f17c Mon Sep 17 00:00:00 2001 From: modulos Date: Mon, 22 May 2017 12:53:01 +0200 Subject: [PATCH] Fix NoReverseMatch for create-virtual-machine --- hosting/templates/hosting/virtual_machines.html | 2 +- hosting/urls.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hosting/templates/hosting/virtual_machines.html b/hosting/templates/hosting/virtual_machines.html index e7dee999..650f68ac 100644 --- a/hosting/templates/hosting/virtual_machines.html +++ b/hosting/templates/hosting/virtual_machines.html @@ -19,7 +19,7 @@ {% if not error %}

- {% trans "Create VM"%} + {% trans "Create VM"%}


diff --git a/hosting/urls.py b/hosting/urls.py index f09d3aa7..d5923cf4 100644 --- a/hosting/urls.py +++ b/hosting/urls.py @@ -19,7 +19,7 @@ urlpatterns = [ url(r'bills/?$', HostingBillListView.as_view(), name='bills'), url(r'bills/(?P\d+)/?$', HostingBillDetailView.as_view(), name='bills'), url(r'cancel_order/(?P\d+)/?$', OrdersHostingDeleteView.as_view(), name='delete_order'), - url(r'create-virtual-machine/?$', CreateVirtualMachinesView.as_view(), name='create_virtual_machine'), + url(r'create_virtual_machine/?$', CreateVirtualMachinesView.as_view(), name='create_virtual_machine'), url(r'my-virtual-machines/?$', VirtualMachinesPlanListView.as_view(), name='virtual_machines'), url(r'my-virtual-machines/(?P\d+)/?$', VirtualMachineView.as_view(), name='virtual_machines'),