From dab07b50cf93f3c72b9ddb2c44255871740122ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89lie=20Bouttier?= Date: Mon, 22 Aug 2016 00:28:14 +0200 Subject: [PATCH] fix talks regrouping by event type --- proposals/models.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/proposals/models.py b/proposals/models.py index 9f6bfa8..0ff11aa 100644 --- a/proposals/models.py +++ b/proposals/models.py @@ -82,6 +82,9 @@ class Talk(PonyConfModel): def score(self): return query_sum(self.vote_set, 'vote') + class Meta: + ordering = ('event',) + class Vote(PonyConfModel):