fix talks regrouping by event type
This commit is contained in:
parent
b8f473edc6
commit
dab07b50cf
|
@ -82,6 +82,9 @@ class Talk(PonyConfModel):
|
||||||
def score(self):
|
def score(self):
|
||||||
return query_sum(self.vote_set, 'vote')
|
return query_sum(self.vote_set, 'vote')
|
||||||
|
|
||||||
|
class Meta:
|
||||||
|
ordering = ('event',)
|
||||||
|
|
||||||
|
|
||||||
class Vote(PonyConfModel):
|
class Vote(PonyConfModel):
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user