Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- photos_score_list = Photo.objects.filter(upload_time__gte=yesterday).annotate(unique_comments=Count('photocomment__submitted_by', distinct=True)).values_list('vote_score','unique_comments')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement