FilterSpec and Null values
|Reported by:||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
FilterSpec don't do much at the moment concerning fields that accept Null values.
I patched DateFieldFilterSpec to fix this issue.
I believe the same can be done for the rest of the FilterSpec.
For the BooleanFieldFilterSpec, I wonder why not checking self.field.null instead of requiring the developers to define a NullBooleanField in their model.
Change History (4)
comment:1 Changed 7 years ago by
|Patch needs improvement:||unset|
|Triage Stage:||Unreviewed → Accepted|