django-musician/musician/urls.py

20 lines
488 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.contrib.auth import views as auth_views
2019-10-10 07:35:15 +00:00
from django.urls import path
from . import views
2019-10-10 07:35:15 +00:00
app_name = 'musician'
urlpatterns = [
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'),
]