2024-12-29 03:44:52 +01:00
|
|
|
from django.contrib.auth.views import LoginView, LogoutView
|
|
|
|
|
from django.urls import path
|
|
|
|
|
from backend.accounts import views as v
|
|
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
|
path(
|
|
|
|
|
'login/',
|
|
|
|
|
LoginView.as_view(template_name='accounts/login.html'),
|
|
|
|
|
name='login'
|
|
|
|
|
),
|
|
|
|
|
path('logout/', LogoutView.as_view(), name='logout'),
|
|
|
|
|
path('signup/', v.SignUpView.as_view(), name='signup'),
|
2025-02-13 16:38:29 +01:00
|
|
|
path('confirm/<uuid:uuid>/', v.confirm_email, name='confirm_email'),
|
|
|
|
|
path('resend/<str:email>/', v.resend_confirmation, name='resend_confirmation'),
|
2024-12-29 03:44:52 +01:00
|
|
|
]
|