语法检测不友好
安装pylint_django
添加设置:在项目文件下的.vscode/settings.json文件中的"python.linting.pylintArgs"处添加"--load-plugins", "pylint_django",
"--disable-msg=['C0103','C0301','W0312','W0511','W0232','E1101']",
{
"python.pythonPath": "/root/Envs/django2.2_axf_env/bin/python",
"python.linting.pylintArgs":[
"--load-plugins", "pylint_django",
"--disable-msg=['C0103','C0301','W0312','W0511','W0232','E1101']",
],
}