From cb0a56fb0de69cd9e59c7f1c802b298e44a3f01a Mon Sep 17 00:00:00 2001 From: Awais Qureshi Date: Thu, 23 Sep 2021 15:24:43 +0500 Subject: [PATCH] fix: Added durable argument to transaction.atomic. It is implemented in django32. --- common/djangoapps/util/db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/djangoapps/util/db.py b/common/djangoapps/util/db.py index 3b8891311d..41d0763623 100644 --- a/common/djangoapps/util/db.py +++ b/common/djangoapps/util/db.py @@ -52,7 +52,7 @@ class OuterAtomic(transaction.Atomic): """ ALLOW_NESTED = False - def __init__(self, using, savepoint, durable=False, name=None): + def __init__(self, using, savepoint, name=None, durable=False,): self.name = name self.durable = durable super().__init__(using, savepoint, durable)