Explorar o código

图片位置信息

yf_ymm %!s(int64=5) %!d(string=hai) anos
pai
achega
4d006f08a7
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      apps/Equipment/views.py

+ 2 - 1
apps/Equipment/views.py

@@ -3434,5 +3434,6 @@ class Pic_locat(ListView):
         try:
             Pic_Info.object.create(locat1=locat1,locat2=locat2,addr=addr,locat_info=locat_info)
             return HttpResponse("1")
-        except:
+        except Exception as e:
+            print("--->>",e)
             return HttpResponse("0")