fix: Added durable argument to transaction.atomic. It is implemented in django32.
This commit is contained in:
@@ -56,7 +56,7 @@ class OuterAtomic(transaction.Atomic):
|
||||
self.name = name
|
||||
self.durable = durable
|
||||
if django.VERSION >= (3, 1):
|
||||
super().__init__(using, savepoint, durable) # pylint: disable=too-many-arguments
|
||||
super().__init__(using, savepoint, durable) # pylint: disable=too-many-function-args
|
||||
else:
|
||||
super().__init__(using, savepoint)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user