django-orchestra/orchestra/contrib/musician/urls.py

77 lines
4.8 KiB
Python
Raw Normal View History

"""
URL routes definition.
Describe the paths where the views are accesible.
"""
from django.urls import path
2024-01-25 12:36:10 +00:00
from django.views.generic import RedirectView
from . import views
app_name = 'musician'
urlpatterns = [
2024-01-25 12:36:10 +00:00
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'),
2024-08-09 11:21:01 +00:00
path('dashboard/historydata/<int:pk>/', views.HistoryDataView.as_view(), name='dashboard-historydata'),
path('dashboard/history/<int:pk>/', views.HistoryView.as_view(), name='dashboard-history'),
2023-11-29 11:42:54 +00:00
2024-06-19 11:41:34 +00:00
path('domains/', views.DomainListView.as_view(), name='domain-list'),
path('domains/<int:pk>/', views.DomainDetailView.as_view(), name='domain-detail'),
path('domains/<int:pk>/add-record/', views.DomainAddRecordView.as_view(), name='domain-add-record'),
2023-11-29 11:42:54 +00:00
path('domains/<int:pk>/records/<int:record_pk>/update/', views.DomainUpdateRecordView.as_view(), name='domain-update-record'),
path('domains/<int:pk>/records/<int:record_pk>/delete/', views.DomainDeleteRecordView.as_view(), name='domain-delete-record'),
path('billing/', views.BillingView.as_view(), name='billing'),
path('bills/<int:pk>/download/', views.BillDownloadView.as_view(), name='bill-download'),
2024-05-29 15:55:01 +00:00
path('profile/', views.ProfileView.as_view(), name='profile'),
path('profile/setLang/<code>', views.profile_set_language, name='profile-set-lang'),
2024-05-29 15:55:01 +00:00
path('address/', views.AddressListView.as_view(), name='address-list'),
path('address/new/', views.MailCreateView.as_view(), name='address-create'),
path('address/<int:pk>/', views.MailUpdateView.as_view(), name='address-update'),
path('address/<int:pk>/delete/', views.AddressDeleteView.as_view(), name='address-delete'),
2024-05-29 15:55:01 +00:00
path('mailboxes/', views.MailboxListView.as_view(), name='mailbox-list'),
path('mailboxes/new/', views.MailboxCreateView.as_view(), name='mailbox-create'),
path('mailboxes/<int:pk>/', views.MailboxUpdateView.as_view(), name='mailbox-update'),
path('mailboxes/<int:pk>/delete/', views.MailboxDeleteView.as_view(), name='mailbox-delete'),
path('mailboxes/<int:pk>/change-password/', views.MailboxChangePasswordView.as_view(), name='mailbox-password'),
2024-05-29 15:55:01 +00:00
path('mailing-lists/', views.MailingListsView.as_view(), name='mailing-lists'),
2024-05-29 18:03:25 +00:00
path('mailing-lists/<int:pk>/', views.MailingUpdateView.as_view(), name='mailing-update'),
2024-06-05 15:14:59 +00:00
path('mailing-lists/new/', views.MailingCreateView.as_view(), name='mailing-create'),
path('mailing-lists/<int:pk>/delete/', views.MailingDeleteView.as_view(), name='mailing-delete'),
2024-05-29 15:55:01 +00:00
path('databases/', views.DatabaseListView.as_view(), name='database-list'),
2024-05-29 15:55:01 +00:00
path('saas/', views.SaasListView.as_view(), name='saas-list'),
path('saas/<int:pk>/', views.SaasUpdateView.as_view(), name='saas-update'),
path('saas/<int:pk>/delete/', views.SaasDeleteView.as_view(), name='saas-delete'),
path('saas/<int:pk>/nextcloud-change-password/', views.NextcloudChangePasswordView.as_view(), name='nextcloud-password'),
path('webappusers/', views.WebappUserListView.as_view(), name='webappuser-list'),
path('webappuser/<int:pk>/change-password/', views.WebappUserChangePasswordView.as_view(), name='webappuser-password'),
path('systemusers/', views.SystemUserListView.as_view(), name='systemuser-list'),
path('systemuser/<int:pk>/change-password/', views.SystemUserChangePasswordView.as_view(), name='systemuser-password'),
2024-05-13 18:23:25 +00:00
2024-04-23 15:14:39 +00:00
path('websites/', views.WebsiteListView.as_view(), name='website-list'),
2024-05-13 18:23:25 +00:00
path('websites/<int:pk>/', views.WebsiteDetailView.as_view(), name='website-detail'),
2024-05-16 18:41:46 +00:00
path('websites/<int:pk>/edit/', views.WebsiteUpdateView.as_view(), name='website-update'),
2024-05-18 12:27:03 +00:00
path('websites/<int:pk>/add-content/', views.WebsiteAddContentView.as_view(), name='website-add-content'),
path('websites/<int:pk>/add-directive/', views.WebsiteAddDirectiveView.as_view(), name='website-add-directive'),
2024-05-13 18:23:25 +00:00
path('websites/<int:pk>/content/<int:content_pk>/delete/', views.WebsiteDeleteContentView.as_view(), name='website-delete-content'),
path('websites/<int:pk>/directive/<int:directive_pk>/delete/', views.WebsiteDeleteDirectiveView.as_view(), name='website-delete-directive'),
path('webapps/', views.WebappListView.as_view(), name='webapp-list'),
path('webapps/<int:pk>/', views.WebappDetailView.as_view(), name='webapp-detail'),
path('webapps/<int:pk>/add-option/', views.WebappAddOptionView.as_view(), name='webapp-add-option'),
path('webapps/<int:pk>/option/<int:option_pk>/delete/', views.WebappDeleteOptionView.as_view(), name='webapp-delete-option'),
2024-04-25 20:20:26 +00:00
path('webapps/<int:pk>/option/<int:option_pk>/update/', views.WebappUpdateOptionView.as_view(), name='webapp-update-option'),
]