Changes between Version 3 and Version 4 of Ticket #33973, comment 2


Ignore:
Timestamp:
Sep 1, 2022, 3:26:44 PM (2 years ago)
Author:
Marc Parizeau

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33973, comment 2

    v3 v4  
    22
    33{{{
    4 Content.objects.filter(
    5         teacher__user=user,
    6     ).exclude(
    7         pk=content.pk,
    8     ).annotate(
     4Content.objects.all().annotate(
    95        unread=Greatest(
    106            Exists(
Back to Top