As soon as your application is writing multiple changes to your database at once, you want to consider using transactions to make sure that all of your changes are applied, or none at all. Again, Django makes these things tremendously easy. For example, one can use transaction.atomic
as a …