Changes between Initial Version and Version 1 of Ticket #34589
- Timestamp:
- May 22, 2023, 6:42:35 AM (19 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #34589 – Description
initial v1 1 I need to find trips that are not trip__method__title=ShippingChoice.ORGANIZATION1 I need to find trips that are not `trip__method__title=ShippingChoice.ORGANIZATION` 2 2 my code is like this: 3 4 {{{ 3 5 working_shipments = Shipment.objects.exclude( 4 6 state__in=[ … … 10 12 updated_at__lt=time_threshold, 11 13 ) 14 }}} 12 15 13 16 I forced to use a big list on filter instead to use the exclude. my code is like this: 14 17 18 {{{ 15 19 working_shipments = Shipment.objects.exclude( 16 20 state__in=[ … … 23 27 ) 24 28 29 }}}