Explorar el Código

首页农场信息

yf_ymm hace 5 años
padre
commit
7ccb3698ee
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      apps/Equipment/views.py

+ 1 - 1
apps/Equipment/views.py

@@ -399,7 +399,7 @@ class Back_Manage(ListView):
         if request.user.is_authenticated():
             current_user = request.user.username
             current_user = MyUser.objects.get(username=current_user)
-            farm_list = FarmList.objects.all()
+            farm_list = GardenArea.objects.all()
             return render(request, 'backstageNet/home.html', context={"current_user":current_user,"farm_list":farm_list})
         else:
             return render(request, 'outerNet/index2.html')