Jelajahi Sumber

import transaction

locky 3 tahun lalu
induk
melakukan
92e849491c
1 mengubah file dengan 1 tambahan dan 2 penghapusan
  1. 1 2
      AdminController/DeviceManagementController.py

+ 1 - 2
AdminController/DeviceManagementController.py

@@ -3,8 +3,7 @@
 import json
 import time
 
-from aioredis.commands import transaction
-
+from django.db import transaction
 from Object.ResponseObject import ResponseObject
 from Object.TokenObject import TokenObject
 from django.views.generic.base import View