2👍
✅
I think if you chain your clauses, it’ll be more readable.
avaluos= ( Avaluo.objects
.filter(Estatus='CONCLUIDO')
.filter(Q(Factura='')|Q(Factura__isnull=True))
.filter(Q(Pagado=False)|Q(Pagado__isnull=True)) )
Source:stackexchange.com