Changes between Version 3 and Version 4 of Ticket #33973, comment 2
- Timestamp:
- Sep 1, 2022, 3:26:44 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #33973, comment 2
v3 v4 2 2 3 3 {{{ 4 Content.objects.filter( 5 teacher__user=user, 6 ).exclude( 7 pk=content.pk, 8 ).annotate( 4 Content.objects.all().annotate( 9 5 unread=Greatest( 10 6 Exists(