2021-03-21 15:50:50 +00:00
|
|
|
from django.urls import path
|
|
|
|
|
2021-03-23 18:23:04 +00:00
|
|
|
from .views import LoginView, LogoutView, RegistrationView, VerificationView
|
2021-03-21 15:50:50 +00:00
|
|
|
|
|
|
|
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"),
|
2021-03-23 18:23:04 +00:00
|
|
|
path('verify/', VerificationView.as_view(), name="verify"),
|
2021-03-21 15:50:50 +00:00
|
|
|
]
|