Order news by -start

This commit is contained in:
Kuroshini 2019-12-02 12:45:58 +03:00
parent 20b3e7f461
commit fccffa93e3

View File

@ -21,7 +21,7 @@ class NewsMixinView:
qs = models.News.objects.published() \
.with_base_related() \
.annotate_in_favorites(self.request.user) \
.order_by('-is_highlighted', '-created')
.order_by('-is_highlighted', '-start')
country_code = self.request.country_code
if country_code: