Skip to main content

NotInTransactionMixin

This mixin provides a mechanism to ensure that specific database operations are not executed within an atomic transaction block. It validates the connection state of the provided schema editor and raises a NotSupportedError if a transaction is active, typically requiring the migration to have atomic set to False.