Changes between Initial Version and Version 1 of Ticket #36693, comment 2
- Timestamp:
- Oct 28, 2025, 5:39:23 PM (4 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #36693, comment 2
initial v1 1 1 ontowee's assessment is on point. 2 2 3 You haven't provided your model definition so it's hard to tell for sure but all signs point at your aggregate function targeting a multi-valued nullable relationship(`sites`) which means that it will include `NULL` when there are no matches.3 You haven't provided your model definition so it's hard to tell for sure but all signs point at [https://dryorm.xterm.info/ticket-36693 your aggregate function targeting a multi-valued nullable relationship] (`sites`) which means that it will include `NULL` when there are no matches. 4 4 5 5 If you want to exclude them from the targeted set you should pass `filter=~Q(sites=None)` to your `ArrayAgg` which will default to `NULL` on an empty set and use the provided `default`.