Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Relations #1332

Open
dualmacops opened this issue May 30, 2024 · 0 comments
Open

Feature request: Relations #1332

dualmacops opened this issue May 30, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@dualmacops
Copy link

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.

@dualmacops dualmacops added the enhancement New feature or request label May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant