sort by filename

This commit is contained in:
j 2009-08-28 11:40:26 +02:00
parent 68792d4a20
commit 14f41d44c5
4 changed files with 3 additions and 1 deletions

View File

@ -1,2 +1,4 @@
host_settings/*
media/*
dev.sqlite
dev.sqlite

Binary file not shown.

0
templates/index.html Normal file
View File

View File

@ -52,7 +52,7 @@ class Text(models.Model):
compilation = models.BooleanField(default=False)
class Meta:
ordering = ('title', )
ordering = ('file', 'title', 'version')
def __unicode__(self):
return self.title