register and sign in pages
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
from django.urls import path
|
||||
from knox import views as knox_views
|
||||
|
||||
from .views import (
|
||||
AuthStartView,
|
||||
MeView,
|
||||
OtpResendView,
|
||||
PasswordLoginView,
|
||||
RegisterView,
|
||||
VerifyCodeView,
|
||||
)
|
||||
|
||||
urlpatterns = [
|
||||
path("start/", AuthStartView.as_view(), name="auth-start"),
|
||||
path("login/password/", PasswordLoginView.as_view(), name="auth-login-password"),
|
||||
path("verify/", VerifyCodeView.as_view(), name="auth-verify"),
|
||||
path("otp/resend/", OtpResendView.as_view(), name="auth-otp-resend"),
|
||||
path("register/", RegisterView.as_view(), name="auth-register"),
|
||||
path("me/", MeView.as_view(), name="auth-me"),
|
||||
path("logout/", knox_views.LogoutView.as_view(), name="auth-logout"),
|
||||
path("logout-all/", knox_views.LogoutAllView.as_view(), name="auth-logout-all"),
|
||||
]
|
||||
Reference in New Issue
Block a user