academon/core/urls/auth.py
2022-09-16 15:40:15 +00:00

11 lines
No EOL
315 B
Python

from django.urls import path
from django.contrib.auth.views import LogoutView
from ..views import LoginView, OTPView
urlpatterns = [
path("login/", LoginView.as_view(), name="login"),
path("login/checkotp/", OTPView.as_view(), name="checkotp"),
path("logout/", LogoutView.as_view(), name="logout"),
]