With the Cursor 1.1.3 update, the Pylance extension is no longer supported in Cursor (from now on you can only install it in the official VS Code IDE, not in its forks 😭)
This is really annoying, since the Pylance extension used to provide syntax highlighting + autocomplete for Django objects (as shown in the picture below):

How to fix this?
- Install the
Pyrightextension compatible with your IDE- In Cursor I use Cursor Pyright (by Anysphere)
- You can also use Pyright (by ms-pyright)
- For other VS Code forks you can use BasedPyright (by detachhead)
- Install the
django-stubspackage:pip install django-stubs
- The syntax should be highlighted again 😎