diff --git a/taskapp/models.py b/taskapp/models.py index 09c6633..6a59a9d 100644 --- a/taskapp/models.py +++ b/taskapp/models.py @@ -75,7 +75,7 @@ class Task(models.Model): class Meta: db_table = 'task' - ordering = ('-id',) + ordering = ('priority', '-id') permissions = ( ('can_viewall', _('Access to all tasks')), ('can_remind', _('Reminders of tasks'))