сделал частично работающую смену пароля

This commit is contained in:
2024-01-19 14:07:43 +03:00
parent a611b1784d
commit 345d807f06
6 changed files with 68 additions and 16 deletions

View File

@@ -18,12 +18,12 @@ from django.urls import path
from . import views
urlpatterns = [
path('', views.default_view, name='account'),
path('', views.view_account, name='account-view'),
path('register', views.view_register, name='register'),
path('login', views.view_login, name='login'),
path('logout', views.view_logout, name='logout'),
path('list', views.view_list, name='accounts-list'),
path('view', views.view_account, name='account-view'),
path('change-password', views.default_view, name='change-password'),
path('view/<str:username>', views.view_account, name='account-view'),
path('change-password', views.view_change_password, name='change-password'),
path('delete/<str:username>', views.default_view, name='delete-account'),
]