mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 13:17:50 +02:00
Change how images and consists are sorted (#14)
This commit is contained in:
@@ -32,7 +32,7 @@ class Consist(models.Model):
|
||||
return reverse("consist", kwargs={"uuid": self.uuid})
|
||||
|
||||
class Meta:
|
||||
ordering = ["creation_time"]
|
||||
ordering = ["company", "-creation_time"]
|
||||
|
||||
|
||||
class ConsistItem(models.Model):
|
||||
|
Reference in New Issue
Block a user