As the documentation states, the default behavior in Django is "autocommit", relying on the database's autocommit behavior. This means Django does not need to issue explicit BEGIN and COMMIT statements, so by default Django does not issue them unless the ORM determines that a requested operation requires multiple queries (in which case Django does use an explicit transaction for those queries).
Django provides a number of options for other transaction behaviors, including running each HTTP request/response cycle inside a transaction, or manually beginning and committing transactions from your own code. Consult the transaction documentation for details. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAL13Cg9fEgz%2BuepqJ-hH-gjiJOf%3DTA20%2BG2pZYt-bPacXFaZVw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.