JourneyJoker/localauth/urls.py

12 lines
No EOL
394 B
Python

from django.urls import path
from .views import LoginView, LogoutView, RegistrationView, VerificationView
app_name = "localauth"
urlpatterns = [
path('login/', LoginView.as_view(), name="login"),
path('logout/', LogoutView.as_view(), name="logout"),
path('register/', RegistrationView.as_view(), name="register"),
path('verify/', VerificationView.as_view(), name="verify"),
]