diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-03-11 15:10:58 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-03-11 15:10:58 +0100 |
| commit | e654180ce2a11ef4c525497d6c40dc542e16806c (patch) | |
| tree | 7658f47dfaafe0dd09fe62fd5525e8f6e6a41ba7 /django/db/transaction.py | |
| parent | f32100939e8ea8a2714e45e22467af5df55c8f33 (diff) | |
Improved the API of set_autocommit.
Diffstat (limited to 'django/db/transaction.py')
| -rw-r--r-- | django/db/transaction.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/transaction.py b/django/db/transaction.py index be8981f968..3a4c3f2b8d 100644 --- a/django/db/transaction.py +++ b/django/db/transaction.py @@ -124,7 +124,7 @@ def get_autocommit(using=None): """ return get_connection(using).autocommit -def set_autocommit(using=None, autocommit=True): +def set_autocommit(autocommit, using=None): """ Set the autocommit status of the connection. """ |
