From d38edb0dfa0593ed93f795e326306b3035ab587c Mon Sep 17 00:00:00 2001 From: PCoder Date: Sun, 12 May 2019 19:22:10 +0200 Subject: [PATCH] Add url for AddSshKeyToVMView --- hosting/urls.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hosting/urls.py b/hosting/urls.py index a3579f06..c596354c 100644 --- a/hosting/urls.py +++ b/hosting/urls.py @@ -1,5 +1,6 @@ from django.conf.urls import url from django.contrib.auth import views as auth_views + from .views import ( DjangoHostingView, RailsHostingView, PaymentVMView, NodeJSHostingView, LoginView, SignupView, SignupValidateView, SignupValidatedView, IndexView, @@ -9,10 +10,9 @@ from .views import ( HostingPricingView, CreateVirtualMachinesView, HostingBillListView, HostingBillDetailView, SSHKeyDeleteView, SSHKeyCreateView, SSHKeyListView, SSHKeyChoiceView, DashboardView, SettingsView, ResendActivationEmailView, - InvoiceListView, InvoiceDetailView + InvoiceListView, InvoiceDetailView, AddSshKeyToVMView ) - urlpatterns = [ url(r'index/?$', IndexView.as_view(), name='index'), url(r'django/?$', DjangoHostingView.as_view(), name='djangohosting'), @@ -41,6 +41,8 @@ urlpatterns = [ VirtualMachinesPlanListView.as_view(), name='virtual_machines'), url(r'my-virtual-machines/(?P\d+)/?$', VirtualMachineView.as_view(), name='virtual_machines'), + url(r'add-key-vm/(?P\d+)/?$', AddSshKeyToVMView.as_view(), + name='add_key_vm'), url(r'ssh_keys/?$', SSHKeyListView.as_view(), name='ssh_keys'), url(r'ssh_keys_choice/?$', SSHKeyChoiceView.as_view(),