Closed awbush closed 5 years ago
I haven't tested this, but in reviewing the code I am concerned with this line:
if lookup_type == 'exact' and not value:
In that block it says not to use value=False and to use value=None instead. However, it looks like passing in None will trigger that block, too:
value=False
value=None
$ ipython In [1]: not None Out[1]: True In [2]: not False Out[2]: True
Thoughts?
I haven't tested this, but in reviewing the code I am concerned with this line:
In that block it says not to use
value=False
and to usevalue=None
instead. However, it looks like passing in None will trigger that block, too:Thoughts?