To annotate users with whether or not they have a survey due, I'd suggest to use a Subquery expression: from django.db.models import Q, F, ...
確定! 回上一頁