сделал частично работающую смену пароля
This commit is contained in:
@@ -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'),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user