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

Add more useful filters #15

Closed
makridenko opened this issue Apr 24, 2024 · 0 comments · Fixed by #30
Closed

Add more useful filters #15

makridenko opened this issue Apr 24, 2024 · 0 comments · Fixed by #30
Assignees

Comments

@makridenko
Copy link
Owner

makridenko commented Apr 24, 2024

# Old filters
User.objects.filter(eq={'name': 'test'}, neq={'id': 1})

# New filters
User.objects.filter(name='test').exclude(id=1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant