Comment Comment by josebama To get the type checker to work with Django you need to install django-stubs[1]. It works great with mypy, but should also work well with pyright.[1]: https://github.com/typeddjango/django-stubs parent josebama 2 years ago
[1]: https://github.com/typeddjango/django-stubs