From 4dd06f772f4473840b26444bbd23c510ac2b7b44 Mon Sep 17 00:00:00 2001 From: Kuroshini Date: Wed, 16 Oct 2019 14:11:07 +0300 Subject: [PATCH] Use old ids for demonstration --- apps/news/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/news/views.py b/apps/news/views.py index ad7e6dfb..990665dd 100644 --- a/apps/news/views.py +++ b/apps/news/views.py @@ -37,7 +37,7 @@ class NewsMixinView: qs = qs.by_country_code(country_code) else: qs = models.News.objects.filter( - id__in=settings.HARDCODED_INTERNATIONAL_NEWS_IDS) + old_id__in=settings.HARDCODED_INTERNATIONAL_NEWS_IDS) return qs # temp code