2015-08-27 18:20:08 +02:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								from django.conf.urls import url
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2016-05-29 13:37:43 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								from .views import DjangoHostingView, RailsHostingView, PaymentVMView,\
							 | 
						
					
						
							
								
									
										
										
										
											2017-06-11 05:15:48 +05:30
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    NodeJSHostingView, LoginView, SignupView, SignupValidateView, SignupValidatedView, IndexView, \
							 | 
						
					
						
							
								
									
										
										
										
											2016-05-04 00:16:41 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    OrdersHostingListView, OrdersHostingDetailView, VirtualMachinesPlanListView,\
							 | 
						
					
						
							
								
									
										
										
										
											2017-06-03 15:03:55 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    VirtualMachineView, OrdersHostingDeleteView, NotificationsView, \
							 | 
						
					
						
							
								
									
										
										
										
											2017-05-03 23:19:32 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    MarkAsReadNotificationView, PasswordResetView, PasswordResetConfirmView, HostingPricingView,\
							 | 
						
					
						
							
								
									
										
										
										
											2017-06-03 15:03:55 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    CreateVirtualMachinesView, HostingBillListView, HostingBillDetailView, \
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    SSHKeyDeleteView, SSHKeyCreateView, SSHKeyListView
							 | 
						
					
						
							
								
									
										
										
										
											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'),
							 | 
						
					
						
							
								
									
										
										
										
											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'),
							 | 
						
					
						
							
								
									
										
										
										
											2016-05-03 00:59:40 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    url(r'orders/?$', OrdersHostingListView.as_view(), name='orders'),
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    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'),
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    url(r'bills/(?P<pk>\d+)/?$', HostingBillDetailView.as_view(), name='bills'),
							 | 
						
					
						
							
								
									
										
										
										
											2016-05-20 16:43:17 -04:30
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    url(r'cancel_order/(?P<pk>\d+)/?$', OrdersHostingDeleteView.as_view(), name='delete_order'),
							 | 
						
					
						
							
								
									
										
										
										
											2017-05-22 12:53:01 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    url(r'create_virtual_machine/?$', CreateVirtualMachinesView.as_view(), name='create_virtual_machine'),
							 | 
						
					
						
							
								
									
										
										
										
											2016-05-03 00:59:40 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    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-06-03 13:33:05 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    url(r'delete_ssh_key/(?P<pk>\d+)/?$', SSHKeyDeleteView.as_view(),
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        name='delete_ssh_key'),
							 | 
						
					
						
							
								
									
										
										
										
											2017-06-03 15:03:55 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    url(r'create_ssh_key/?$', SSHKeyCreateView.as_view(),
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        name='create_ssh_key'),
							 | 
						
					
						
							
								
									
										
										
										
											2016-05-29 13:37:43 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    url(r'^notifications/$', NotificationsView.as_view(), name='notifications'),
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    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-06-11 05:15:48 +05:30
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    url(r'signup-validate/?$', SignupValidateView.as_view(), name='signup-validate'),
							 | 
						
					
						
							
								
									
										
										
										
											2016-06-21 00:10:38 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    url(r'reset-password/?$', PasswordResetView.as_view(), name='reset_password'),
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    url(r'reset-password-confirm/(?P<uidb64>[0-9A-Za-z]+)-(?P<token>.+)/$',
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        PasswordResetConfirmView.as_view(), name='reset_password_confirm'),
							 | 
						
					
						
							
								
									
										
										
										
											2016-04-29 01:53:24 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    url(r'^logout/?$', 'django.contrib.auth.views.logout',
							 | 
						
					
						
							
								
									
										
										
										
											2017-06-11 05:15:48 +05:30
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        {'next_page': '/hosting/login?logged_out=true'}, name='logout'),
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    url(r'^validate/(?P<validate_slug>.*)/$', SignupValidatedView.as_view(), name='validate')
							 | 
						
					
						
							
								
									
										
										
										
											2015-08-27 18:20:08 +02:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								]
							 |