from django.urls import re_path from django.contrib.auth import views as auth_views from .views import SSHKeyCreateView, AskSSHKeyView, PaymentOrderView, OrderConfirmationView from .views import ( #PaymentVMView, LoginView, SignupView, SignupValidateView, SignupValidatedView, IndexView, #OrdersHostingListView, OrdersHostingDetailView, #VirtualMachinesPlanListView, VirtualMachineView, OrdersHostingDeleteView, #MarkAsReadNotificationView, PasswordResetView, PasswordResetConfirmView, #HostingPricingView, CreateVirtualMachinesView, HostingBillListView, #HostingBillDetailView, SSHKeyDeleteView, SSHKeyListView, #SSHKeyChoiceView, DashboardView, SettingsView, ResendActivationEmailView, DashboardView, CustomLogoutView #InvoiceListView, InvoiceDetailView, CheckUserVM ) app_name = 'hosting' urlpatterns = [ #re_path(r'/', IndexView.as_view(), name='index'), re_path(r'login/?$', LoginView.as_view(), name='login'), re_path(r'signup/?$', SignupView.as_view(), name='signup'), re_path(r'signup-validate/?$', SignupValidateView.as_view(), name='signup-validate'), re_path(r'resend-activation-link/?$', ResendActivationEmailView.as_view(), name='resend_activation_link'), re_path(r'reset-password/?$', PasswordResetView.as_view(), name='reset_password'), re_path(r'reset-password-confirm/(?P[0-9A-Za-z]+)-(?P.+)/$', PasswordResetConfirmView.as_view(), name='reset_password_confirm'), re_path('^logout/', CustomLogoutView.as_view(), name='logout'), re_path(r'^validate/(?P.*)/$', SignupValidatedView.as_view(), name='validate'), re_path(r'dashboard/?$', DashboardView.as_view(), name='dashboard'), re_path(r'^payment/?$', PaymentOrderView.as_view(), name='payment'), re_path(r'^order-confirmation/?$', OrderConfirmationView.as_view(), name='order_confirmation'), ]