15 lines
669 B
Python
15 lines
669 B
Python
from django.urls import path
|
|
from . import views
|
|
|
|
app_name = 'accounts'
|
|
|
|
urlpatterns = [
|
|
path('register/', views.register_view, name='register'),
|
|
path('login/', views.login_view, name='login'),
|
|
path('logout/', views.logout_view, name='logout'),
|
|
path('profile/', views.profile_view, name='profile'),
|
|
path('profile/change-password/', views.change_password_view, name='change_password'),
|
|
path('confirm/<uuid:token>/', views.confirm_email, name='confirm_email'),
|
|
path('password-reset/', views.password_reset_request, name='password_reset'),
|
|
path('password-reset/<uuid:token>/', views.password_reset_confirm, name='password_reset_confirm'),
|
|
] |