Commit 7dbdc6a529dec731d0c32854e468561635f86822
1 parent
6d3d020b
Exists in
master
and in
5 other branches
Ordering files #183
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
files/models.py
@@ -23,7 +23,7 @@ class TopicFile(Material): | @@ -23,7 +23,7 @@ class TopicFile(Material): | ||
23 | class Meta: | 23 | class Meta: |
24 | verbose_name = _("File") | 24 | verbose_name = _("File") |
25 | verbose_name_plural = _("Files") | 25 | verbose_name_plural = _("Files") |
26 | - ordering = ('-id') | 26 | + ordering = ('-id',) |
27 | 27 | ||
28 | def __str__(self): | 28 | def __str__(self): |
29 | return self.name | 29 | return self.name |
30 | \ No newline at end of file | 30 | \ No newline at end of file |