(django is back! https://docs.djangoproject.com/en/1.4/topics/db/transactions/#controlling-transaction-management-in-views)