Skip to content

Commit c565322

Browse files
authored
Merge pull request #197 from PROCOLLAB-github/dev
attempt to fix news ordering?
2 parents 8b67888 + c8f79af commit c565322

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)