这是indexloc提供的服务,不要输入任何密码
Skip to content

Feature request: Relations #1332

@dualmacops

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions