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.
Do you have django-stub installed?
https://pypi.org/project/django-stubs/1.2.0/