aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/matchbox/db/main/models.py')
-rw-r--r--src/matchbox/db/main/models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/matchbox/db/main/models.py b/src/matchbox/db/main/models.py
index 5448269..1b9946b 100644
--- a/src/matchbox/db/main/models.py
+++ b/src/matchbox/db/main/models.py
@@ -38,6 +38,8 @@ class Useflag(models.Model):
class File(models.Model):
path = models.CharField(max_length=65535, unique=True)
+ class Meta:
+ ordering = ('path',)
class FileType(models.Model):
name = models.CharField(max_length=20, unique=True)