mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-23 12:21:28 +08:00
[3.2] Add durable argument to atomic (#586)
* [3.2] Add durable argument to atomic * Adjust compatibility table for 3.2 * Update README.md Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
pass
|
||||
with transaction.atomic(using="mydb", savepoint=False):
|
||||
pass
|
||||
with transaction.atomic(using="mydb", savepoint=False, durable=True):
|
||||
pass
|
||||
|
||||
- case: transaction_atomic_decorator
|
||||
main: |
|
||||
|
||||
Reference in New Issue
Block a user