mirror of
https://github.com/etnguyen03/tjdests.git
synced 2025-04-29 05:09:49 -04:00
18 lines
462 B
Python
18 lines
462 B
Python
from django.contrib.auth import views as auth_views
|
|
from django.urls import path
|
|
|
|
from . import views
|
|
|
|
app_name = "authentication"
|
|
|
|
urlpatterns = [
|
|
path("", views.IndexView.as_view(), name="index"),
|
|
path(
|
|
"login",
|
|
auth_views.LoginView.as_view(template_name="authentication/login.html"),
|
|
name="login",
|
|
),
|
|
path("logout", auth_views.LogoutView.as_view(), name="logout"),
|
|
path("tos", views.accept_tos_view, name="tos"),
|
|
]
|