Skip to content

Commit c8f79af

Browse files
committed
attempt to fix news ordering?
1 parent 8b67888 commit c8f79af

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

files/models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,4 @@ def __str__(self):
3434
class Meta:
3535
verbose_name = "Файл"
3636
verbose_name_plural = "Файлы"
37+
ordering = ["-datetime_uploaded"]

0 commit comments

Comments
 (0)