You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ForeignKey is generic, but in this situation having unbound arguments. That's why e.g. there's a _GT in the error message. That's why I'll close this off.
Bug report
What's wrong
I have two models:
Without
partial
, it works fine:Edit: And
cast
ing works in 1.8.0 (but not in 1.9.0 due to #725)How it should be
partial
should carry over theForeignKey
type.System information
python
version: 3.9.1django
version: 3.1.5mypy
version: 0.910django-stubs
version: 1.9.0django-stubs-ext
version:The text was updated successfully, but these errors were encountered: