Changes between Initial Version and Version 1 of Ticket #34589


Ignore:
Timestamp:
May 22, 2023, 6:42:35 AM (18 months ago)
Author:
David Sanders
Comment:

formatted description

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34589 – Description

    initial v1  
    1 I need to find trips that are not trip__method__title=ShippingChoice.ORGANIZATION
     1I need to find trips that are not `trip__method__title=ShippingChoice.ORGANIZATION`
    22my code is like this:
     3
     4{{{
    35    working_shipments = Shipment.objects.exclude(
    46        state__in=[
     
    1012        updated_at__lt=time_threshold,
    1113    )
     14}}}
    1215
    1316I forced to use a big list on filter instead to use the exclude. my code is like this:
    1417
     18{{{
    1519    working_shipments = Shipment.objects.exclude(
    1620        state__in=[
     
    2327    )
    2428
     29}}}
Back to Top