feat(accounts): 实现用户资料与认证页面

This commit is contained in:
bruce
2026-09-09 13:01:36 +08:00
parent f4a92699f0
commit 163d20f710
11 changed files with 177 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
"""账户页面路由。"""
from django.contrib.auth import views as auth_views
from django.urls import path
from . import views
app_name = "accounts"
urlpatterns = [
path("login/", auth_views.LoginView.as_view(), name="login"),
path("logout/", auth_views.LogoutView.as_view(), name="logout"),
path("profile/", views.profile, name="profile"),
]