@ -8,6 +8,10 @@ pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/
- mysql安装失败手动下载https://www.lfd.uci.edu/~gohlke/pythonlibs/#mysqlclient
//初始化数据库
python manage.py migrate --settings=py_vislib.settings.local
//启动项目
python manage.py runserver --settings=py_vislib.settings.local
@ -151,7 +151,7 @@ def sourceTableSave(request):
id=uuid.uuid4(),
database=source,
table=table['table'],
# table_alias=table['table_alias'],
table_alias='' if table['table_alias'] is None else table['table_alias'],
creator=request.user,
status=table['status'],
updated_at=default_datetime()