Changes between Initial Version and Version 1 of Ticket #33751
- Timestamp:
- May 30, 2022, 3:31:19 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #33751 – Description
initial v1 119 119 120 120 But I dont think this is quite correct. I also need the count of the annotation. 121 I also tried with 122 123 {{{ 124 cars = cars.annotate(events=FilteredRelation('car_events', condition=Q(car_events__car_id__in=ads.values_list("id", flat=True)))).filter(events__instance_created_date__gt=six_days_ago) 125 }}} 126 127 But this results in an inner join, which i dont think is wanted here 121 128 122 129 Using Django 4 and latest python release as of this writing. :)