标签: python django visual-studio-code pylint
我被困在这里,不知道为什么会发生此错误。enter image description here
答案 0 :(得分:4)
将import os添加到您的 settings.py
import os