ft_transcendence/accounts/urls.py

13 lines
508 B
Python
Raw Normal View History

2023-10-24 07:56:16 -04:00
from django.urls import path
2023-11-30 08:03:38 -05:00
from .views import register, login, logout, delete, edit, logged
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-11-29 10:05:49 -05:00
path("logged", logged.LoggedView.as_view(), name="logged"),
2023-10-25 10:10:23 -04:00
path("delete", delete.DeleteView.as_view(), name="delete"),
2023-11-30 08:03:38 -05:00
path("edit", edit.EditView.as_view(), name="change_password")
2023-11-11 13:50:14 -05:00
2023-10-24 07:56:16 -04:00
]