sort by filename
This commit is contained in:
parent
68792d4a20
commit
14f41d44c5
4 changed files with 3 additions and 1 deletions
|
@ -1,2 +1,4 @@
|
|||
host_settings/*
|
||||
media/*
|
||||
dev.sqlite
|
||||
dev.sqlite
|
||||
|
|
BIN
dev.sqlite
BIN
dev.sqlite
Binary file not shown.
0
templates/index.html
Normal file
0
templates/index.html
Normal 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
|
||||
|
|
Loading…
Reference in a new issue