ormar
ormar copied to clipboard
Feature request: Relations
Is your feature request related to a problem? Please describe. I would like more feature parity with Django when comes to relations especially generic relations and one to one relations. https://docs.djangoproject.com/en/4.2/ref/contrib/contenttypes/#generic-relations https://docs.djangoproject.com/en/4.2/topics/db/examples/one_to_one/#one-to-one-relationships
Describe the solution you'd like I would like an implementation of generic relations and one to one relations or a constrain to ForeignKey field
Describe alternatives you've considered I tired to implement it with Inheritance but then the reverse relation has a different name for each model.