Changes between Initial Version and Version 1 of Ticket #2361, comment 23
- Timestamp:
- Aug 26, 2024, 12:28:02 PM (2 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2361, comment 23
initial v1 3 3 {{{#!python 4 4 Blog.objects.filter( 5 Exists(Entry.objects.filter(blog=OuterRef("pk")) 5 Exists(Entry.objects.filter(blog=OuterRef("pk"))) 6 6 ) 7 7 }}} … … 23 23 # Instead of 24 24 Blog.objects.filter( 25 Exists(Entry.objects.filter(blog=OuterRef("pk"), published=True)) 25 Exists(Entry.objects.filter(blog=OuterRef("pk"), published=True))) 26 26 ) 27 27