django-musician/musician/urls.py

27 lines
989 B
Python
Raw Normal View History

2019-10-10 07:35:15 +00:00
"""
URL routes definition.
Describe the paths where the views are accesible.
"""
from django.urls import path
from . import views
2019-10-10 07:35:15 +00:00
app_name = 'musician'
urlpatterns = [
path('auth/login/', views.LoginView.as_view(), name='login'),
path('auth/logout/', views.LogoutView.as_view(), name='logout'),
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'),
2019-12-17 14:15:58 +00:00
path('bills/', views.BillingView.as_view(), name='billing'),
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'),
2019-10-30 13:35:30 +00:00
path('mails/', views.MailView.as_view(), name='mails'),
2019-10-31 13:00:01 +00:00
path('mailing-lists/', views.MailingListsView.as_view(), name='mailing-lists'),
2019-10-30 13:35:30 +00:00
path('databases/', views.DatabasesView.as_view(), name='databases'),
path('software-as-a-service/', views.SaasView.as_view(), name='saas'),
2019-10-10 07:35:15 +00:00
]