yf_ymm 5 лет назад
Родитель
Сommit
6cf8c8c2c8
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      apps/Home/views.py

+ 2 - 2
apps/Home/views.py

@@ -128,7 +128,7 @@ class Home(View):
         two_news = CKArticle.objects.filter(art_type=2)[0:10]
         two_news = CKArticle.objects.filter(art_type=2)[0:10]
         video_news = Video_data.objects.all()[0:4]
         video_news = Video_data.objects.all()[0:4]
         product = Product.objects.all()[0:8]
         product = Product.objects.all()[0:8]
-        pick = Pick_Pub.objects.all()[0:6]
+        pick = Pick_Pub.objects.all()[0:8]
         farm = FarmList.objects.all()
         farm = FarmList.objects.all()
         garden = GardenArea.objects.all()
         garden = GardenArea.objects.all()
         hotel = Hotel_Info.objects.all()[0:5]
         hotel = Hotel_Info.objects.all()[0:5]
@@ -156,7 +156,7 @@ class Home2(View):
         two_news = CKArticle.objects.filter(art_type=2)[0:10]
         two_news = CKArticle.objects.filter(art_type=2)[0:10]
         video_news = Video_data.objects.all()[0:4]
         video_news = Video_data.objects.all()[0:4]
         product = Product.objects.all()[0:8]
         product = Product.objects.all()[0:8]
-        pick = Pick_Pub.objects.all()[0:6]
+        pick = Pick_Pub.objects.all()[0:8]
         garden = GardenArea.objects.all()
         garden = GardenArea.objects.all()
         hotel = Hotel_Info.objects.all()[0:5]
         hotel = Hotel_Info.objects.all()[0:5]
         article = CKArticle.objects.all()[0:12]
         article = CKArticle.objects.all()[0:12]