This commit is contained in:
Egor Matveev
2021-09-08 11:15:07 +03:00
parent ccdd9e7b8c
commit c71638664e
2 changed files with 2 additions and 2 deletions

View File

@@ -39,7 +39,7 @@ class UserInfo(models.Model):
tasks = []
for task in Task.objects.all():
self._append_task(task, tasks)
return tasks
return sorted(tasks, key=lambda x: x.time_estimation)
@property
def place(self):