I'm curious to see how you successfully got working well the types as I'm lost in the nightmare for a few days.
"django-stubs>=5.2",
"django-stubs-ext>=5.2.2",
In `settings.py`, add: import django_stubs_ext
django_stubs_ext.monkeypatch()
With that, it seems _mostly_ OK, though I had to toggle off some of basedpyright's typechecking.