Add some more ordering to TeamTask.

This commit is contained in:
Víðir Valberg Guðmundsson 2018-08-15 00:17:03 +02:00
parent fc3cc91ad4
commit 32f4ae13e3

View file

@ -300,7 +300,7 @@ class TeamTask(CampRelatedModel):
)
class Meta:
ordering = ['name']
ordering = ['completed', 'when', 'name']
unique_together = (('name', 'team'), ('slug', 'team'))
def get_absolute_url(self):