feat: 添加美观的系统首页展示

This commit is contained in:
2026-05-19 10:33:35 +08:00
parent deda4a222f
commit ec7c5c28bb
3 changed files with 257 additions and 1 deletions

View File

@@ -15,6 +15,8 @@ from rest_framework_simplejwt.views import (
TokenRefreshView,
)
from device_management.views import home_page
schema_view = get_schema_view(
openapi.Info(
title="视频主设备管理系统 API",
@@ -29,6 +31,7 @@ schema_view = get_schema_view(
)
urlpatterns = [
path('', home_page, name='home'),
path('admin/', admin.site.urls),
path('api/', include('device_management.urls')),
path('api/token/', TokenObtainPairView.as_view(), name='token_obtain_pair'),