18 lines
667 B
Python
18 lines
667 B
Python
"""Common account URLs"""
|
|
from django.urls import path
|
|
|
|
from account.views import common as views
|
|
|
|
app_name = 'account'
|
|
|
|
urlpatterns = [
|
|
path('user/', views.UserRetrieveUpdateView.as_view(),
|
|
name='user-retrieve-update'),
|
|
path('change-password/', views.ChangePasswordView.as_view(), name='change-password'),
|
|
path('change-email/confirm/<uidb64>/<token>/', views.ChangeEmailConfirmView.as_view(),
|
|
name='change-email-confirm'),
|
|
path('confirm-email/', views.ConfirmEmailView.as_view(), name='confirm-email'),
|
|
path('confirm-email/<uidb64>/<token>/', views.ConfirmInactiveEmailView.as_view(),
|
|
name='inactive-email-confirm'),
|
|
]
|