ba-thesis/app/authentication/urls.py

13 lines
576 B
Python
Raw Normal View History

2023-07-21 18:08:48 +01:00
from django.urls import path
from django.contrib.auth import views as auth_views
2023-07-28 17:23:49 +01:00
from . import views
2023-07-21 18:08:48 +01:00
urlpatterns = [
path("login/", auth_views.LoginView.as_view(template_name="authentication/login.html"), name="login"),
path("logout/", auth_views.LogoutView.as_view(template_name="authentication/logout.html"), name="logout"),
2023-07-28 17:23:49 +01:00
path("register/init/", views.register_init, name="register-init"),
path("register/continue/", views.register_continue, name="register-continue"),
path("register/finalize/", views.register_finalize, name="register-finalize"),
2023-07-21 18:08:48 +01:00
]