ft_transcendence/accounts/urls.py

12 lines
479 B
Python
Raw Normal View History

2023-10-24 07:56:16 -04:00
from django.urls import path
2023-11-11 13:50:14 -05:00
from .views import register, login, logout, delete, change_password
2023-10-24 07:56:16 -04:00
urlpatterns = [
2023-11-11 13:50:14 -05:00
path("register", register.RegisterView.as_view(), name="register"),
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("delete", delete.DeleteView.as_view(), name="delete"),
2023-11-11 13:50:14 -05:00
path("change_password", change_password.ChangePasswordView.as_view(), name="change_password")
2023-10-24 07:56:16 -04:00
]