Changes between Initial Version and Version 1 of Ticket #32043, comment 3
- Timestamp:
- Sep 25, 2020, 3:57:51 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32043, comment 3
initial v1 9 9 outer_category_id=OuterRef('category_id'), 10 10 ).filter( 11 Q(category= OuterRef('category_id')) | Q(category=None, outer_category_id=None),11 Q(category=F('outer_category_id')) | Q(category=None, outer_category_id=None), 12 12 priority=OuterRef('priority'), 13 13 ).values('priority').annotate(priority_count=Count('*'))