2 ms·
A lot of databases these days support nested transactions using savepoints, which Django's test framework can take advantage of. There's a separate mechanism f
by simonw 3y ago
A lot of databases these days support nested transactions using savepoints, which Django's test framework can take advantage of.
There's a separate mechanism for writing tests where you need to explicitly test transaction mechanics: https://docs.djangoproject.com/en/5.0/topics/testing/tools/#django.test.TransactionTestCase https://docs.djangoproject.com/en/5.0/topics/testing/tools/#...