feat: 添加美观的系统首页展示
This commit is contained in:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user