-
Notifications
You must be signed in to change notification settings - Fork 755
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
Deficiencies in filtering for models.NullBooleanField #1012
Comments
Shall take into account |
Thanks. Like you mentioned on SO - |
I have noticed that it was supported in django filter 1.x version by using 1, 2, 3 for null, false, and true respectively. After upgrading to 2.0 it has been changed to true / false but it is not stated in the "Migrating to 2.0" doc. |
Any reason for removing this feature? |
It's also true that |
NullBooleanField
s aren't completely supported by django-filter. By default, any generated fields will default toBooleanFilter
, which only supports filtering by yes/no values, but not by null values. As documented in #522 (comment), this is now solvable in userland, but support could still be improved in-package.The text was updated successfully, but these errors were encountered: