I use coc-pyright as python code completer in debian. When I work on a django file, I get errors like this error in neovim env. But django runs codes without any problem. I have installed django with apt and not with pip and also I am not in a venv.
coc-pyright
apt
pip
I found it. I should set pyright.disableDiagnostics to true in CocConfig.
pyright.disableDiagnostics
true
CocConfig
I found it. I should set
pyright.disableDiagnostics
totrue
inCocConfig
.