2019-10-10 07:35:15 +00:00
|
|
|
|
|
|
|
"""
|
|
|
|
URL routes definition.
|
|
|
|
|
|
|
|
Describe the paths where the views are accesible.
|
|
|
|
"""
|
|
|
|
from django.urls import path
|
|
|
|
|
2019-10-23 11:35:43 +00:00
|
|
|
from . import views
|
|
|
|
|
|
|
|
|
2019-10-10 07:35:15 +00:00
|
|
|
app_name = 'musician'
|
|
|
|
|
|
|
|
urlpatterns = [
|
2019-10-29 09:58:54 +00:00
|
|
|
path('auth/login/', views.LoginView.as_view(), name='login'),
|
2019-10-30 12:05:46 +00:00
|
|
|
path('auth/logout/', views.LogoutView.as_view(), name='logout'),
|
2023-09-27 11:58:58 +00:00
|
|
|
path('allow_code', views.AllowCodeView.as_view(), name='allow-code'),
|
2019-10-25 11:33:37 +00:00
|
|
|
path('dashboard/', views.DashboardView.as_view(), name='dashboard'),
|
2019-12-13 14:08:01 +00:00
|
|
|
path('domains/<int:pk>/', views.DomainDetailView.as_view(), name='domain-detail'),
|
2021-09-27 11:52:27 +00:00
|
|
|
path('billing/', views.BillingView.as_view(), name='billing'),
|
2019-12-17 14:15:58 +00:00
|
|
|
path('bills/<int:pk>/download/', views.BillDownloadView.as_view(), name='bill-download'),
|
2019-11-20 19:07:35 +00:00
|
|
|
path('profile/', views.ProfileView.as_view(), name='profile'),
|
2022-02-28 18:05:06 +00:00
|
|
|
path('profile/setLang/<code>', views.profile_set_language, name='profile-set-lang'),
|
2021-09-27 11:52:27 +00:00
|
|
|
path('address/', views.MailView.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'),
|
2021-10-01 11:36:52 +00:00
|
|
|
path('address/<int:pk>/delete/', views.AddressDeleteView.as_view(), name='address-delete'),
|
2021-09-27 11:52:27 +00:00
|
|
|
path('mailboxes/', views.MailboxesView.as_view(), name='mailbox-list'),
|
2021-10-05 11:10:53 +00:00
|
|
|
path('mailboxes/new/', views.MailboxCreateView.as_view(), name='mailbox-create'),
|
2021-10-07 11:51:31 +00:00
|
|
|
path('mailboxes/<int:pk>/', views.MailboxUpdateView.as_view(), name='mailbox-update'),
|
2021-10-06 09:07:22 +00:00
|
|
|
path('mailboxes/<int:pk>/delete/', views.MailboxDeleteView.as_view(), name='mailbox-delete'),
|
2021-10-14 09:09:59 +00:00
|
|
|
path('mailboxes/<int:pk>/change-password/', views.MailboxChangePasswordView.as_view(), name='mailbox-password'),
|
2019-10-31 13:00:01 +00:00
|
|
|
path('mailing-lists/', views.MailingListsView.as_view(), name='mailing-lists'),
|
2021-09-27 11:52:27 +00:00
|
|
|
path('databases/', views.DatabasesView.as_view(), name='database-list'),
|
|
|
|
path('saas/', views.SaasView.as_view(), name='saas-list'),
|
2019-10-10 07:35:15 +00:00
|
|
|
]
|