ft_transcendence/accounts/urls.py
2023-11-29 16:05:49 +01:00

13 lines
551 B
Python

from django.urls import path
from .views import register, login, logout, delete, change_password, logged
urlpatterns = [
path("register", register.RegisterView.as_view(), name="register"),
path("login", login.LoginView.as_view(), name="login"),
path("logout", logout.LogoutView.as_view(), name="logout"),
path("logged", logged.LoggedView.as_view(), name="logged"),
path("delete", delete.DeleteView.as_view(), name="delete"),
path("change_password", change_password.ChangePasswordView.as_view(), name="change_password")
]