Created
August 12, 2019 09:01
-
-
Save akshar-raaj/cb4a121f0aff256fb6c444e22ed322f3 to your computer and use it in GitHub Desktop.
Question with no choices
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Question.objects.annotate(num_votes=Sum('choice__votes')).filter(num_votes__isnull=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment