v0.3.1 更新说明

This commit is contained in:
何全
2019-06-06 16:38:18 +08:00
parent 519eab9c97
commit 6d05563181
4 changed files with 6 additions and 7 deletions

View File

@@ -108,7 +108,7 @@ yum install python-devel mysql-devel python36-devel.x86_64 -y
git clone https://github.com/hequan2017/seal
cd seal
## django 2.2 不支持 低版本的 sqlite,如果想使用sqlite ,请根据这个博客 https://www.jianshu.com/p/cdacf4b74646 进行升级
python36 -m pip install -r requirements.txt
python36 manage.py makemigrations

View File

@@ -9,7 +9,7 @@ chardet==3.0.4
coreapi==2.3.3
coreschema==0.0.4
decorator==4.3.0
Django==2.2.0
Django==2.2.2
django-bootstrap4==0.0.7
django-celery-beat==1.4.0
django-celery-results==1.0.4
@@ -64,5 +64,4 @@ urllib3==1.24.1
vine==1.2.0
watchdog==0.8.3
watchdog-gevent==0.1.0
wcwidth==0.1.7
django-simpleui
wcwidth==0.1.7

View File

@@ -92,11 +92,11 @@ AUTHENTICATION_BACKENDS = ('system.views.CustomBackend',) ## 重新登录验证
# https://docs.djangoproject.com/en/2.1/ref/settings/#databases
if socket.gethostname().endswith('demo'):
if socket.gethostname().endswith('seal'):
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'HOST': '127.0.0.1',
'HOST': '192.168.100.50',
'PORT': '3306',
'NAME': 'seal',
'USER': 'root',

View File

@@ -73,7 +73,7 @@ class Menu(APIView):
'path': 'ecs',
'name': 'ecs',
'meta': {
'access': ['assets.add_ecs'],
'access': ['assets.view_ecs'],
'icon': 'md-funnel',
'title': 'ecs'
},