django-musician/musician/urls.py

19 lines
384 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-10-10 07:35:15 +00:00
]