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

Join style queries for dict, set, list, and embedded fields #177

Conversation

Molanda
Copy link

@Molanda Molanda commented Nov 27, 2013

This change adds the ability to query (get, filter, exclude) on DictField, SetField, ListField, and EmbeddedModelField using join style syntax.

For example...

MyModel.objects.filter(myfield__one__two__exact='something').exclude(myfield__three='something')

Which would filter on myfield.one.two and exclude myfield.three in MongoDB.

@Molanda Molanda closed this Dec 2, 2013
@kynan
Copy link

kynan commented Dec 2, 2013

Resubmitted as #178.

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

Successfully merging this pull request may close these issues.

2 participants