mirror of
https://github.com/yyhuni/xingrin.git
synced 2026-01-31 11:46:16 +08:00
13 lines
432 B
Python
13 lines
432 B
Python
"""
|
|
通用模块 URL 配置
|
|
"""
|
|
from django.urls import path
|
|
from .views import LoginView, LogoutView, MeView, ChangePasswordView
|
|
|
|
urlpatterns = [
|
|
path('auth/login/', LoginView.as_view(), name='auth-login'),
|
|
path('auth/logout/', LogoutView.as_view(), name='auth-logout'),
|
|
path('auth/me/', MeView.as_view(), name='auth-me'),
|
|
path('auth/change-password/', ChangePasswordView.as_view(), name='auth-change-password'),
|
|
]
|