Explorar o código

数据库调整

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

+ 1 - 1
apps/Equipment/views.py

@@ -3421,7 +3421,7 @@ class Create_User(ListView):
             userobj.is_staff = role
             userobj.user_remark = user_remark
             userobj.save()
-            return HttpResponse("0")
+            return HttpResponse("1")
         if MyUser.objects.extra(where=['binary username=%s'], params=[name]).exists():
             # 用户已存在!!!
             data = "3"