Add url for AddSshKeyToVMView
This commit is contained in:
		
					parent
					
						
							
								69049a9321
							
						
					
				
			
			
				commit
				
					
						d38edb0dfa
					
				
			
		
					 1 changed files with 4 additions and 2 deletions
				
			
		|  | @ -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<pk>\d+)/?$', VirtualMachineView.as_view(), | ||||
|         name='virtual_machines'), | ||||
|     url(r'add-key-vm/(?P<pk>\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(), | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue