mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
[1.7.x] Fixed #22487: Optional rollback emulation for migrated apps
Conflicts: django/db/backends/creation.py django/test/runner.py docs/ref/settings.txt docs/topics/testing/advanced.txt
This commit is contained in:
@@ -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
|
||||
~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user