-
Notifications
You must be signed in to change notification settings - Fork 131
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
Boolean filters don't work as expected #25
Comments
Hi @karmux. Can you include an example FilterSet and model? |
@rpkilby ,
Must use |
Thanks @karmux, I'll start working on a test case. |
rpkilby
pushed a commit
to rpkilby/django-rest-framework-filters
that referenced
this issue
Nov 23, 2015
Merged
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Django REST Framework says that When using boolean fields, you should use the values True and False in the URL query parameters, rather than 0, 1, true or false.
This cannot be achieved with django-rest-framework-filters. Must use 0 or 1 for boolean field filtering. True and False doesn't work.
The text was updated successfully, but these errors were encountered: