37 lines
No EOL
1.7 KiB
Python
37 lines
No EOL
1.7 KiB
Python
from django.urls import re_path
|
|
from django.contrib.auth import views as auth_views
|
|
|
|
from .views import SSHKeyCreateView, AskSSHKeyView
|
|
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<uidb64>[0-9A-Za-z]+)-(?P<token>.+)/$',
|
|
PasswordResetConfirmView.as_view(), name='reset_password_confirm'),
|
|
re_path('^logout/', CustomLogoutView.as_view(), name='logout'),
|
|
re_path(r'^validate/(?P<validate_slug>.*)/$',
|
|
SignupValidatedView.as_view(), name='validate'),
|
|
re_path(r'dashboard/?$', DashboardView.as_view(), name='dashboard'),
|
|
] |