TransactionManagementError "You can't execute queries until the end of the 'atomic' block" while using signals, but only during Unit Testing TransactionManagementError "You can't execute queries until the end of the 'atomic' block" while using signals, but only during Unit Testing django django