|
|
@@ -148,10 +148,10 @@ class Home(View):
|
|
|
pick = Pick_Pub.objects.all()[0:6]
|
|
|
farm = FarmList.objects.all()
|
|
|
garden = GardenArea.objects.all()
|
|
|
- hotel = Hotel_Info.objects.all()[0:5]
|
|
|
+ hotel = Hotel_Info.objects.all()[0:6]
|
|
|
article = CKArticle.objects.all()[0:12]
|
|
|
sightsee = Sightsee_Info.objects.all()[0:6]
|
|
|
- hotel2 = Hotel_Info.objects.all().order_by('-upl_time')
|
|
|
+ hotel2 = Hotel_Info.objects.all().order_by('-upl_time')[0:6]
|
|
|
if request.user.is_authenticated():
|
|
|
user_name = request.user.username
|
|
|
curr_user = MyUser.objects.get(username=user_name)
|