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

has a many-to-one relationship with itself #65

Open
leoiwa opened this issue Aug 6, 2019 · 0 comments
Open

has a many-to-one relationship with itself #65

leoiwa opened this issue Aug 6, 2019 · 0 comments

Comments

@leoiwa
Copy link

leoiwa commented Aug 6, 2019

django manual: To create a recursive relationship – an object that has a many-to-one relationship with itself – use models.ForeignKey('self', on_delete=models.CASCADE).
How can I implement the function in the qdjango?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant