Attempting to type ForeignKeyFields #1712
Unanswered
Outlandish0191
asked this question in
Q&A
Replies: 1 comment
-
You can use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This was written in the docs, but after a lot of searching I just simply cannot find where this is. I remember reading a part in the docs about how it is possible to type ForeignKeys in the class so that one's type checker wouldn't get confused and could offer suggestions and autocompleting. Can someone point me to where that is, or show a brief example on how to do this?
Beta Was this translation helpful? Give feedback.
All reactions