django-musician/musician/urls.py
Santiago Lamora da8b91d892 Code login template.
- Add base bootstrap files
- Enable musician app
2019-10-23 13:35:43 +02:00

20 lines
488 B
Python

"""
URL routes definition.
Describe the paths where the views are accesible.
"""
from django.contrib.auth import views as auth_views
from django.urls import path
from . import views
app_name = 'musician'
urlpatterns = [
path('auth/login/', auth_views.LoginView.as_view(template_name='auth/login.html',
extra_context={'version': '0.1'}), name='login'),
# path('auth/logout/', views.LogoutView.as_view(), name='logout'),
]