Explorar o código

import transaction

locky %!s(int64=3) %!d(string=hai) anos
pai
achega
92e849491c
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  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