瀏覽代碼

首页农场信息

yf_ymm 5 年之前
父節點
當前提交
56246edd52
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      apps/Equipment/views.py

+ 1 - 1
apps/Equipment/views.py

@@ -2990,7 +2990,7 @@ class Person_Area_Pub(ListView):
                 data = "0"
         else:
             try:
-                GardenArea.objects.create(user=current_user,name=name,manage=manage,mobile=mobile,
+                GardenArea.objects.create(user=user,name=name,manage=manage,mobile=mobile,
                     area=area,desc=desc,img=img,
                     location=location,addr=addr)
                 data = "1"