I am getting TransactionManagementError when trying to save a Django User model instance and in its post_save signal, I\'m saving some models that have the user as the forei
Since @mkoistinen never made his comment, an answer, I'll post his suggestion so people won't have to dig through comments.
consider just declaring your test class as a TransactionTestCase rather than just TestCase.
From the Django docs: A TransactionTestCase may call commit and rollback and observe the effects of these calls on the database.