ft_transcendence/accounts/urls.py

11 lines
475 B
Python
Raw Normal View History

2023-10-24 07:56:16 -04:00
from django.urls import path
from .views import login, logout, register, delete, change_password
2023-10-24 07:56:16 -04:00
urlpatterns = [
2023-10-25 10:10:23 -04:00
path("login", login.LoginView.as_view(), name="login"),
path("logout", logout.LogoutView.as_view(), name="logout"),
2023-10-25 10:10:23 -04:00
path("register", register.RegisterView.as_view(), name="register"),
path("delete", delete.DeleteView.as_view(), name="delete"),
path("change_password", change_password.ChangePasswordView.as_view(), name="change_password"),
2023-10-24 07:56:16 -04:00
]