VSCode No Definition Found on Django Imports

I am using a flatpak VSCodium installation (VSCode without telemetry) on linux (PopOS, Mint).

I have the python and django extensions installed.

I’m using Pipenv to create my projects virtual environment and have ensured that the interpreter is set to the pipenv venv location.

Problem:
I cannot ctrl + click (or right click and “Go to definition”) for django imports such as
from django.urls import path
while I can go to definitions imported from my other apps in my workspace such as
from users.models import User

Does anyone know what I need to do to be able to go to definitions (and get other intelliSense features) working for the django imports?

Thank you!

Adding in case others search this…

I could not find a solution for VSCode.

I switched to zed (editor) and with the a pyright configuration file, was able to get detection for pip installed packages in my venv.

As a note, I also had to install Ruff in addition to pyright since the objects property was not detected on model.Models.