""" URL routes definition. Describe the paths where the views are accesible. """ from django.urls import path from django.views.generic import RedirectView from . import views app_name = 'musician' urlpatterns = [ path('', RedirectView.as_view(pattern_name='musician:dashboard', permanent=False), name='index'), path('auth/login/', views.LoginView.as_view(), name='login'), path('auth/logout/', views.LogoutView.as_view(), name='logout'), path('dashboard/', views.DashboardView.as_view(), name='dashboard'), path('dashboard/historydata//', views.HistoryDataView.as_view(), name='dashboard-historydata'), path('dashboard/history//', views.HistoryView.as_view(), name='dashboard-history'), path('domains/', views.DomainListView.as_view(), name='domain-list'), path('domains//', views.DomainDetailView.as_view(), name='domain-detail'), path('domains//add-record/', views.DomainAddRecordView.as_view(), name='domain-add-record'), path('domains//records//update/', views.DomainUpdateRecordView.as_view(), name='domain-update-record'), path('domains//records//delete/', views.DomainDeleteRecordView.as_view(), name='domain-delete-record'), path('billing/', views.BillingView.as_view(), name='billing'), path('bills//download/', views.BillDownloadView.as_view(), name='bill-download'), path('profile/', views.ProfileView.as_view(), name='profile'), path('profile/setLang/', views.profile_set_language, name='profile-set-lang'), path('address/', views.AddressListView.as_view(), name='address-list'), path('address/new/', views.MailCreateView.as_view(), name='address-create'), path('address//', views.MailUpdateView.as_view(), name='address-update'), path('address//delete/', views.AddressDeleteView.as_view(), name='address-delete'), path('mailboxes/', views.MailboxListView.as_view(), name='mailbox-list'), path('mailboxes/new/', views.MailboxCreateView.as_view(), name='mailbox-create'), path('mailboxes//', views.MailboxUpdateView.as_view(), name='mailbox-update'), path('mailboxes//delete/', views.MailboxDeleteView.as_view(), name='mailbox-delete'), path('mailboxes//change-password/', views.MailboxChangePasswordView.as_view(), name='mailbox-password'), path('mailing-lists/', views.MailingListsView.as_view(), name='mailing-lists'), path('mailing-lists//', views.MailingUpdateView.as_view(), name='mailing-update'), path('mailing-lists/new/', views.MailingCreateView.as_view(), name='mailing-create'), path('mailing-lists//delete/', views.MailingDeleteView.as_view(), name='mailing-delete'), path('databases/', views.DatabaseListView.as_view(), name='database-list'), path('saas/', views.SaasListView.as_view(), name='saas-list'), path('saas//', views.SaasUpdateView.as_view(), name='saas-update'), path('saas//delete/', views.SaasDeleteView.as_view(), name='saas-delete'), path('saas//nextcloud-change-password/', views.NextcloudChangePasswordView.as_view(), name='nextcloud-password'), path('webappusers/', views.WebappUserListView.as_view(), name='webappuser-list'), path('webappuser//change-password/', views.WebappUserChangePasswordView.as_view(), name='webappuser-password'), path('systemusers/', views.SystemUserListView.as_view(), name='systemuser-list'), path('systemuser//change-password/', views.SystemUserChangePasswordView.as_view(), name='systemuser-password'), path('websites/', views.WebsiteListView.as_view(), name='website-list'), path('websites//', views.WebsiteDetailView.as_view(), name='website-detail'), path('websites//edit/', views.WebsiteUpdateView.as_view(), name='website-update'), path('websites//add-content/', views.WebsiteAddContentView.as_view(), name='website-add-content'), path('websites//add-directive/', views.WebsiteAddDirectiveView.as_view(), name='website-add-directive'), path('websites//content//delete/', views.WebsiteDeleteContentView.as_view(), name='website-delete-content'), path('websites//directive//delete/', views.WebsiteDeleteDirectiveView.as_view(), name='website-delete-directive'), path('webapps/', views.WebappListView.as_view(), name='webapp-list'), path('webapps//', views.WebappDetailView.as_view(), name='webapp-detail'), path('webapps//add-option/', views.WebappAddOptionView.as_view(), name='webapp-add-option'), path('webapps//option//delete/', views.WebappDeleteOptionView.as_view(), name='webapp-delete-option'), path('webapps//option//update/', views.WebappUpdateOptionView.as_view(), name='webapp-update-option'), ]