1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #22487: Optional rollback emulation for migrated apps

This commit is contained in:
Andrew Godwin
2014-06-08 19:30:15 -07:00
parent 8721adcbfb
commit 8c12d51ea2
17 changed files with 246 additions and 26 deletions

View File

@@ -63,6 +63,10 @@ but a few of the key features are:
* ``initial_data`` fixtures are no longer loaded for apps with migrations; if
you want to load initial data for an app, we suggest you do it in a migration.
* Test rollback behaviour is different for apps with migrations; in particular,
Django will no longer emulate rollbacks on non-transactional databases or
inside ``TransactionTestCase`` :ref:`unless specifically asked <test-case-serialized-rollback>`.
App-loading refactor
~~~~~~~~~~~~~~~~~~~~