How to add model Field as 'Self-Referencing Foreign Key' ? #676
Answered
by
collerek
sbishnu019
asked this question in
Q&A
-
Scenario
How to achieve this ?????? |
Beta Was this translation helpful? Give feedback.
Answered by
collerek
Jun 3, 2022
Replies: 1 comment
-
You need to use ForwardRef as described: https://collerek.github.io/ormar/relations/postponed-annotations/ |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
collerek
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to use ForwardRef as described: https://collerek.github.io/ormar/relations/postponed-annotations/