What's the main difference between django's OneToOneField and django's OneToOneRel.
When I searched I came across:
What's the difference between django OneToOneField and ForeignKey?
OneToOneRel is an internal class which implements the back reference of a one to one relationship. It is not documented anywhere, not part of any public api, and is not for use in your app.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With