feat: 移除Swagger/Redoc; 首页按区域分块显示设备清单
This commit is contained in:
@@ -30,7 +30,6 @@ INSTALLED_APPS = [
|
||||
'rest_framework',
|
||||
'rest_framework_simplejwt',
|
||||
'django_filters',
|
||||
'drf_yasg',
|
||||
'device_management',
|
||||
]
|
||||
|
||||
@@ -119,17 +118,6 @@ REST_FRAMEWORK = {
|
||||
'PAGE_SIZE': 20,
|
||||
}
|
||||
|
||||
SWAGGER_SETTINGS = {
|
||||
'SECURITY_DEFINITIONS': {
|
||||
'Bearer': {
|
||||
'type': 'apiKey',
|
||||
'name': 'Authorization',
|
||||
'in': 'header'
|
||||
}
|
||||
},
|
||||
'USE_SESSION_AUTH': True,
|
||||
}
|
||||
|
||||
from datetime import timedelta
|
||||
|
||||
SIMPLE_JWT = {
|
||||
|
||||
Reference in New Issue
Block a user