The Out [25] : 8
In [26] : Project. The objects. The filter (Q (change__date__date__range=(' 2020-04-28 ', '2020-04-28')) & amp; Q (change__se__isnull=False)). The count ()
9 Out [26] :
I don't know what is the difference between the two queries (digital for 9 query is correct)
CodePudding user response:
[35] : In the Project. The objects. The filter (Q (change__date__date__range=(' 2020-04-28 ', '2020-04-28'))). The count ()
The Out [35] : 11
[36] : In the Project. The objects. The filter (Q (change__date__date__range=(' 2020-04-28 ', '2020-04-28')) & amp; ~ Q (change__se__isnull=True)). The count ()
The Out [36] : 8
[37] : In the Project. The objects. The filter (Q (change__date__date__range=(' 2020-04-28 ', '2020-04-28')) & amp; ~ Q (change__se__isnull=False)). The count ()
The Out [37] : 2
CodePudding user response:
I have already solved, update the answer from work