名称和版本号
This commit is contained in:
parent
9c195a44d6
commit
5ba2cc2c73
|
@ -28,7 +28,8 @@ DEBUG = conf.DEBUG
|
|||
|
||||
ALLOWED_HOSTS = ['*']
|
||||
|
||||
SYS_VERSION = '1.02.00'
|
||||
SYS_NAME = 'XT_EHS'
|
||||
SYS_VERSION = '2.00.00'
|
||||
|
||||
|
||||
# Application definition
|
||||
|
|
|
@ -24,8 +24,8 @@ from django.views.generic import TemplateView
|
|||
|
||||
schema_view = get_schema_view(
|
||||
openapi.Info(
|
||||
title="EHS API",
|
||||
default_version='v1',
|
||||
title=settings.SYS_NAME,
|
||||
default_version=settings.SYS_VERSION,
|
||||
contact=openapi.Contact(email="caoqianming@foxmail.com"),
|
||||
license=openapi.License(name="MIT License"),
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue