academon/core/urls/auth.py

11 lines
315 B
Python
Raw Normal View History

2022-08-08 09:43:31 +00:00
from django.urls import path
2022-09-16 15:40:15 +00:00
from django.contrib.auth.views import LogoutView
2022-08-08 09:43:31 +00:00
from ..views import LoginView, OTPView
urlpatterns = [
path("login/", LoginView.as_view(), name="login"),
path("login/checkotp/", OTPView.as_view(), name="checkotp"),
2022-09-16 15:40:15 +00:00
path("logout/", LogoutView.as_view(), name="logout"),
2022-08-08 09:43:31 +00:00
]