2019-10-10 07:35:15 +00:00
|
|
|
|
|
|
|
"""
|
|
|
|
URL routes definition.
|
|
|
|
|
|
|
|
Describe the paths where the views are accesible.
|
|
|
|
"""
|
2019-10-23 11:35:43 +00:00
|
|
|
from django.contrib.auth import views as auth_views
|
2019-10-10 07:35:15 +00:00
|
|
|
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-23 11:35:43 +00:00
|
|
|
path('auth/login/', auth_views.LoginView.as_view(template_name='auth/login.html',
|
|
|
|
extra_context={'version': '0.1'}), name='login'),
|
2019-10-10 07:35:15 +00:00
|
|
|
# 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
|
|
|
]
|