https://docs.djangoproject.com/en/3.0/topics/db/transactions/ You may need to manually revert model state when rolling back a transaction. The values of a model's fields won't be reverted when a transaction rollback happens. This could lead to an inc…