seaislee1209 cbc19a6d9e feat: add admin management, change password, and operation log
- Change password: current user can change their own password
- Admin management: superuser can create/toggle/reset-password for admins
- Operation log: view all system operations with type filter
- All operations are recorded to AlertRecord for audit trail

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 18:20:14 +08:00

14 lines
475 B
Python

from django.urls import path
from . import views
urlpatterns = [
path('login/', views.login_view),
path('refresh/', views.refresh_view),
path('me/', views.me_view),
path('change-password/', views.change_password_view),
path('admins/', views.admin_list_view),
path('admins/create/', views.admin_create_view),
path('admins/<int:pk>/toggle/', views.admin_toggle_view),
path('admins/<int:pk>/reset-password/', views.admin_reset_password_view),
]