|
|
@@ -107,10 +107,10 @@ class Login_View(View):
|
|
|
else:
|
|
|
if returnUrl == "":
|
|
|
print("returnUrl is empty")
|
|
|
- return render(request, 'outerNet/index.html')
|
|
|
+ return render(request, 'outerNet/index2.html')
|
|
|
elif returnUrl != "":
|
|
|
print("returnUrl is not empty")
|
|
|
- return render(request, 'outerNet/index.html')
|
|
|
+ return render(request, 'outerNet/index2.html')
|
|
|
|
|
|
|
|
|
# 外网首页
|
|
|
@@ -132,7 +132,7 @@ class Home(View):
|
|
|
print('user=', curr_user.username)
|
|
|
else:
|
|
|
curr_user = ""
|
|
|
- return render(request, 'outerNet/index.html', context={"user_news": user_news,"zero_news": zero_news, "one_news": one_news,
|
|
|
+ return render(request, 'outerNet/index2.html', context={"user_news": user_news,"zero_news": zero_news, "one_news": one_news,
|
|
|
"two_news": two_news, "video_news": video_news,"hotel":hotel,
|
|
|
"product": product, "pick": pick, "farm": farm, "curr_user": curr_user})
|
|
|
|