| 
									
										
										
										
											2015-08-27 18:20:08 +02:00
										 |  |  | from django.conf.urls import url | 
					
						
							| 
									
										
										
										
											2017-07-19 00:39:52 +03:00
										 |  |  | from django.contrib.auth import views as auth_views | 
					
						
							| 
									
										
										
										
											2017-08-22 20:45:18 +05:30
										 |  |  | from .views import ( | 
					
						
							|  |  |  |     DjangoHostingView, RailsHostingView, PaymentVMView, NodeJSHostingView, | 
					
						
							|  |  |  |     LoginView, SignupView, SignupValidateView, SignupValidatedView, IndexView, | 
					
						
							|  |  |  |     NotificationsView, OrdersHostingListView, OrdersHostingDetailView, | 
					
						
							|  |  |  |     VirtualMachinesPlanListView, VirtualMachineView, OrdersHostingDeleteView, | 
					
						
							|  |  |  |     MarkAsReadNotificationView, PasswordResetView, PasswordResetConfirmView, | 
					
						
							|  |  |  |     HostingPricingView, CreateVirtualMachinesView, HostingBillListView, | 
					
						
							|  |  |  |     HostingBillDetailView, SSHKeyDeleteView, SSHKeyCreateView, SSHKeyListView, | 
					
						
							| 
									
										
										
										
											2017-09-24 15:53:08 +05:30
										 |  |  |     SSHKeyChoiceView, DashboardView, SettingsView, ResendActivationEmailView) | 
					
						
							| 
									
										
										
										
											2015-08-27 18:20:08 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-10-03 18:18:18 +05:30
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-08-27 18:20:08 +02:00
										 |  |  | urlpatterns = [ | 
					
						
							| 
									
										
										
										
											2016-04-20 01:03:32 -05:00
										 |  |  |     url(r'index/?$', IndexView.as_view(), name='index'), | 
					
						
							| 
									
										
										
										
											2016-04-19 01:04:15 -05:00
										 |  |  |     url(r'django/?$', DjangoHostingView.as_view(), name='djangohosting'), | 
					
						
							| 
									
										
										
										
											2017-08-22 20:45:18 +05:30
										 |  |  |     url(r'dashboard/?$', DashboardView.as_view(), name='dashboard'), | 
					
						
							| 
									
										
										
										
											2016-04-20 01:03:32 -05:00
										 |  |  |     url(r'nodejs/?$', NodeJSHostingView.as_view(), name='nodejshosting'), | 
					
						
							| 
									
										
										
										
											2016-05-03 00:59:40 -05:00
										 |  |  |     url(r'rails/?$', RailsHostingView.as_view(), name='railshosting'), | 
					
						
							| 
									
										
										
										
											2016-06-30 01:23:14 -05:00
										 |  |  |     url(r'pricing/?$', HostingPricingView.as_view(), name='pricing'), | 
					
						
							| 
									
										
										
										
											2016-04-22 08:36:38 -05:00
										 |  |  |     url(r'payment/?$', PaymentVMView.as_view(), name='payment'), | 
					
						
							| 
									
										
										
										
											2017-08-24 20:28:02 +05:30
										 |  |  |     url(r'settings/?$', SettingsView.as_view(), name='settings'), | 
					
						
							| 
									
										
										
										
											2016-05-03 00:59:40 -05:00
										 |  |  |     url(r'orders/?$', OrdersHostingListView.as_view(), name='orders'), | 
					
						
							| 
									
										
										
										
											2017-09-06 23:50:19 +02:00
										 |  |  |     url(r'order-confirmation/?$', OrdersHostingDetailView.as_view(), | 
					
						
							|  |  |  |         name='order-confirmation'), | 
					
						
							|  |  |  |     url(r'orders/(?P<pk>\d+)/?$', OrdersHostingDetailView.as_view(), | 
					
						
							|  |  |  |         name='orders'), | 
					
						
							| 
									
										
										
										
											2017-05-05 14:59:11 +02:00
										 |  |  |     url(r'bills/?$', HostingBillListView.as_view(), name='bills'), | 
					
						
							| 
									
										
										
										
											2017-09-06 23:50:19 +02:00
										 |  |  |     url(r'bills/(?P<pk>\d+)/?$', HostingBillDetailView.as_view(), | 
					
						
							|  |  |  |         name='bills'), | 
					
						
							| 
									
										
										
										
											2017-08-22 20:45:18 +05:30
										 |  |  |     url(r'cancel_order/(?P<pk>\d+)/?$', | 
					
						
							|  |  |  |         OrdersHostingDeleteView.as_view(), name='delete_order'), | 
					
						
							|  |  |  |     url(r'create_virtual_machine/?$', CreateVirtualMachinesView.as_view(), | 
					
						
							|  |  |  |         name='create_virtual_machine'), | 
					
						
							|  |  |  |     url(r'my-virtual-machines/?$', | 
					
						
							|  |  |  |         VirtualMachinesPlanListView.as_view(), name='virtual_machines'), | 
					
						
							| 
									
										
										
										
											2016-06-09 23:50:49 -05:00
										 |  |  |     url(r'my-virtual-machines/(?P<pk>\d+)/?$', VirtualMachineView.as_view(), | 
					
						
							| 
									
										
										
										
											2016-05-04 00:16:41 -05:00
										 |  |  |         name='virtual_machines'), | 
					
						
							| 
									
										
										
										
											2017-06-03 15:03:55 +02:00
										 |  |  |     url(r'ssh_keys/?$', SSHKeyListView.as_view(), | 
					
						
							|  |  |  |         name='ssh_keys'), | 
					
						
							| 
									
										
										
										
											2017-07-05 16:57:49 +03:00
										 |  |  |     url(r'ssh_keys_choice/?$', SSHKeyChoiceView.as_view(), | 
					
						
							|  |  |  |         name='choice_ssh_keys'), | 
					
						
							| 
									
										
										
										
											2017-06-03 13:33:05 +02:00
										 |  |  |     url(r'delete_ssh_key/(?P<pk>\d+)/?$', SSHKeyDeleteView.as_view(), | 
					
						
							|  |  |  |         name='delete_ssh_key'), | 
					
						
							| 
									
										
										
										
											2017-10-16 16:18:39 +02:00
										 |  |  |     url(r'delete_card/(?P<pk>\d+)/?$', SettingsView.as_view(), | 
					
						
							|  |  |  |         name='delete_card'), | 
					
						
							| 
									
										
										
										
											2017-06-03 15:03:55 +02:00
										 |  |  |     url(r'create_ssh_key/?$', SSHKeyCreateView.as_view(), | 
					
						
							|  |  |  |         name='create_ssh_key'), | 
					
						
							| 
									
										
										
										
											2017-09-06 23:50:19 +02:00
										 |  |  |     url(r'^notifications/$', NotificationsView.as_view(), | 
					
						
							|  |  |  |         name='notifications'), | 
					
						
							| 
									
										
										
										
											2016-05-29 13:37:43 -05:00
										 |  |  |     url(r'^notifications/(?P<pk>\d+)/?$', MarkAsReadNotificationView.as_view(), | 
					
						
							|  |  |  |         name='read_notification'), | 
					
						
							| 
									
										
										
										
											2016-05-03 00:59:40 -05:00
										 |  |  |     url(r'login/?$', LoginView.as_view(), name='login'), | 
					
						
							| 
									
										
										
										
											2016-04-29 01:53:24 -05:00
										 |  |  |     url(r'signup/?$', SignupView.as_view(), name='signup'), | 
					
						
							| 
									
										
										
										
											2017-09-06 23:50:19 +02:00
										 |  |  |     url(r'signup-validate/?$', SignupValidateView.as_view(), | 
					
						
							|  |  |  |         name='signup-validate'), | 
					
						
							| 
									
										
										
										
											2017-09-24 15:53:08 +05:30
										 |  |  |     url(r'resend-activation-link/?$', ResendActivationEmailView.as_view(), | 
					
						
							|  |  |  |         name='resend_activation_link'), | 
					
						
							| 
									
										
										
										
											2017-09-06 23:50:19 +02:00
										 |  |  |     url(r'reset-password/?$', PasswordResetView.as_view(), | 
					
						
							|  |  |  |         name='reset_password'), | 
					
						
							| 
									
										
										
										
											2016-06-21 00:10:38 -05:00
										 |  |  |     url(r'reset-password-confirm/(?P<uidb64>[0-9A-Za-z]+)-(?P<token>.+)/$', | 
					
						
							|  |  |  |         PasswordResetConfirmView.as_view(), name='reset_password_confirm'), | 
					
						
							| 
									
										
										
										
											2017-07-19 00:39:52 +03:00
										 |  |  |     url(r'^logout/?$', auth_views.logout, | 
					
						
							| 
									
										
										
										
											2017-06-11 05:15:48 +05:30
										 |  |  |         {'next_page': '/hosting/login?logged_out=true'}, name='logout'), | 
					
						
							| 
									
										
										
										
											2017-08-22 20:45:18 +05:30
										 |  |  |     url(r'^validate/(?P<validate_slug>.*)/$', | 
					
						
							|  |  |  |         SignupValidatedView.as_view(), name='validate') | 
					
						
							| 
									
										
										
										
											2015-08-27 18:20:08 +02:00
										 |  |  | ] |