Skip to content

Commit c8f79af

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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)