Changes between Initial Version and Version 1 of Ticket #2361, comment 23


Ignore:
Timestamp:
Aug 26, 2024, 12:28:02 PM (2 months ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2361, comment 23

    initial v1  
    33{{{#!python
    44Blog.objects.filter(
    5     Exists(Entry.objects.filter(blog=OuterRef("pk"))
     5    Exists(Entry.objects.filter(blog=OuterRef("pk")))
    66)
    77}}}
     
    2323# Instead of
    2424Blog.objects.filter(
    25     Exists(Entry.objects.filter(blog=OuterRef("pk"), published=True))
     25    Exists(Entry.objects.filter(blog=OuterRef("pk"), published=True)))
    2626)
    2727
Back to Top