fix talks regrouping by event type

This commit is contained in:
Élie Bouttier 2016-08-22 00:28:14 +02:00
parent b8f473edc6
commit dab07b50cf
1 changed files with 3 additions and 0 deletions

View File

@ -82,6 +82,9 @@ class Talk(PonyConfModel):
def score(self):
return query_sum(self.vote_set, 'vote')
class Meta:
ordering = ('event',)
class Vote(PonyConfModel):