Django python IDE autocompletion in emacs

Presuming a working python layer , following settings will provide autocompletion. e.g. typing Mymodel.ob will suggest Mymodel.objects for completion. yay basedpyright ~/.spacemacs.d/init.el (defun dotspacemacs/user-config () (use-package lsp-pyright :ensure t :custom (lsp-pyright-langserver-command "basedpyright" ) :hook (python-mode . (lambda () (require 'lsp-pyright ) (lsp)))) ) ...…