Changes between Version 1 and Version 8 of Ticket #34589


Ignore:
Timestamp:
May 22, 2023, 9:06:03 AM (19 months ago)
Author:
ftamy9
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34589

    • Property Resolutioninvalid
    • Property Status newclosed
    • Property Keywords 4.1 added
  • Ticket #34589 – Description

    v1 v8  
    1 I need to find trips that are not `trip__method__title=ShippingChoice.ORGANIZATION`
    2 my code is like this:
     1There is a problem on exclude. you can not use nested ForeignKey. I tested on 4.2.1 and 4.1.
     2for example if you need to find trips that are not `trip__method__title=ShippingChoice.ORGANIZATION`
     3Here is the code:
    34
    45{{{
     
    1415}}}
    1516
    16 I forced to use a big list on filter instead to use the exclude. my code is like this:
     17So you are forced to use a big list on filter instead to use the exclude. like this:
    1718
    1819{{{
     
    2829
    2930}}}
     31the objects.exclude bug need to fix
Back to Top