-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add support join extra conditions #7
Add support join extra conditions #7
Conversation
MongoDB uses ObjectId rather than integer
2095bf4
to
e4e3c60
Compare
a586021
to
5552927
Compare
MongoDB uses ObjectId rather than integer
2995f4b
to
bccf63b
Compare
tests/generic_relations/tests.py
Outdated
Animal.objects.exclude(tags__tag="fatty"), | ||
[self.lion], | ||
) | ||
# Exists is not supported in MongoDB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added this change to the fork. I think that's all this branch requires, but let me know.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, if we aren't using objectIdField we just need to modify this test only.
e4e3c60
to
ee622f9
Compare
5deea06
to
353d6b7
Compare
03b9901
to
5a247e8
Compare
Changes merged. |
Change IntegerField to ObjectIdField