summaryrefslogtreecommitdiff
path: root/app/notes/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/notes/models.py')
-rw-r--r--app/notes/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/notes/models.py b/app/notes/models.py
index 6fa3cca..ffd0a25 100644
--- a/app/notes/models.py
+++ b/app/notes/models.py
@@ -24,7 +24,7 @@ class Note(models.Model):
status = models.IntegerField(choices=STATUS, default=0)
class Meta:
- ordering = ('date_created',)
+ ordering = ('date_created', 'status')
def __str__(self):
return self.title