Skip to content

Feature request: Relations #1332

Description

@dualmacops

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions