Skip to content

Instantly share code, notes, and snippets.

@akshar-raaj
Created August 12, 2019 09:03
Show Gist options
  • Save akshar-raaj/fa12a828d2a5dac3dacf92afe59377ce to your computer and use it in GitHub Desktop.
Save akshar-raaj/fa12a828d2a5dac3dacf92afe59377ce to your computer and use it in GitHub Desktop.
Choice.objects.aggregate(avg=Avg('votes'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment