From ca8f96439917be889faba7628ba06ce6fa88b46a Mon Sep 17 00:00:00 2001 From: Awais Qureshi Date: Thu, 23 Sep 2021 20:01:08 +0500 Subject: [PATCH] Update db.py --- 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 d07a040a4d..81ffa8b25c 100644 --- a/common/djangoapps/util/db.py +++ b/common/djangoapps/util/db.py @@ -55,7 +55,7 @@ class OuterAtomic(transaction.Atomic): def __init__(self, using, savepoint, name=None, durable=False): self.name = name self.durable = durable - if django.VERSION >= (3, 1): + if django.VERSION >= (3, 2): super().__init__(using, savepoint, durable) # pylint: disable=too-many-function-args else: super().__init__(using, savepoint)