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

MultipleObjectsReturned for ForeignKey #378

Closed
Eccleshall opened this issue Dec 30, 2015 · 1 comment
Closed

MultipleObjectsReturned for ForeignKey #378

Eccleshall opened this issue Dec 30, 2015 · 1 comment
Labels
stale Stale bot

Comments

@Eccleshall
Copy link

Im having a issue where the I'm getting MultipleObjectsReturned error as there currently doesn't seem to be a way of using another field in the row to filter another foreign key by

Parent Child Relationship

Range
SubRange

Range
id name
1 Higer - male
2 Lower - male

SubRange
id name parent_range
1 Dad 1 (Higher - male)
2 Dad 2 (Lower - male)

Card
id code range sub_range
1 AB34 Higher - male Dad

sub_range currently throws the MultipleObjectsReturned 2 issue.

@stale
Copy link

stale bot commented Feb 11, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

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

No branches or pull requests

1 participant