Database transactions¶ Django gives you a few ways to control how database transactions are managed. Django’s default transaction behavior¶ Django’s default behavior is to run in autocommit mode. Each query is immediately committed to the database, unless a transaction is active. See below for details. Django uses transactions or savepoints automatically to guarantee the integrity of ORM operation
![Database transactions | Django documentation](https://cdn-ak-scissors.b.st-hatena.com/image/square/9a8c4373d53ee736dabefc94e49c6b5cacbd3763/height=288;version=1;width=512/https%3A%2F%2Fstatic.djangoproject.com%2Fimg%2Flogos%2Fdjango-logo-negative.1d528e2cb5fb.png)