summaryrefslogtreecommitdiff
path: root/app/photos/models.py
diff options
context:
space:
mode:
authorlxf <sng@luxagraf.net>2019-05-25 15:10:38 +0000
committerlxf <sng@luxagraf.net>2019-05-25 15:10:38 +0000
commitdd09ca3810ea0798899870930c3efb388b776a7c (patch)
tree0cf0f8ba6c44b774a0867f48fce9cafb96620974 /app/photos/models.py
parentfc037fa9bf0eee9920ae1da14ce80d594f39cba4 (diff)
made some changes to use new checkin model
Diffstat (limited to 'app/photos/models.py')
-rw-r--r--app/photos/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/photos/models.py b/app/photos/models.py
index df8eac4..fd924f3 100644
--- a/app/photos/models.py
+++ b/app/photos/models.py
@@ -39,6 +39,7 @@ class LuxImageSize(models.Model):
quality = models.IntegerField()
class Meta:
+ ordering = ('-name', 'id')
verbose_name_plural = 'Image Sizes'
def __str__(self):