Add some more ordering to TeamTask.
This commit is contained in:
parent
fc3cc91ad4
commit
32f4ae13e3
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue