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

+ 1 - 1
apps/Home/views.py

@@ -147,7 +147,7 @@ class Home(View):
         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:6]
         farm = FarmList.objects.all()
         farm = FarmList.objects.all()
-        garden = GardenArea.objects.all()
+        garden = GardenArea.objects.all()[0:6]
         hotel = Hotel_Info.objects.all()[0:6]
         hotel = Hotel_Info.objects.all()[0:6]
         article = CKArticle.objects.all()[0:12]
         article = CKArticle.objects.all()[0:12]
         sightsee = Sightsee_Info.objects.all()[0:6]
         sightsee = Sightsee_Info.objects.all()[0:6]