diff --git a/.bzrignore b/.bzrignore index 66dbc21..481e4fc 100644 --- a/.bzrignore +++ b/.bzrignore @@ -1,2 +1,4 @@ host_settings/* media/* +dev.sqlite +dev.sqlite diff --git a/dev.sqlite b/dev.sqlite deleted file mode 100644 index 77479c8..0000000 Binary files a/dev.sqlite and /dev/null differ diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..e69de29 diff --git a/text/models.py b/text/models.py index 5a42465..fa3d6c1 100644 --- a/text/models.py +++ b/text/models.py @@ -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