Pārlūkot izejas kodu

import transaction

locky 3 gadi atpakaļ
vecāks
revīzija
92e849491c
1 mainītis faili ar 1 papildinājumiem un 2 dzēšanām
  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