diff options
| author | Tim Graham <timograham@gmail.com> | 2014-12-26 13:56:08 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-01-18 15:58:06 -0500 |
| commit | 7e8cf74dc74539f40f4cea53c1e8bba82791fcb6 (patch) | |
| tree | ed5ab7926f7856804b062b89326e62b8ee15ff94 /docs/topics/testing | |
| parent | 9704b0a82e1f1c6ed0118f948a56652594f0a43b (diff) | |
Removed support for syncing apps without migrations per deprecation timeline.
Kept support for creating models without migrations when running tests
(especially for Django's test suite).
Diffstat (limited to 'docs/topics/testing')
| -rw-r--r-- | docs/topics/testing/tools.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt index 3fabf63c44..9d3ae456fd 100644 --- a/docs/topics/testing/tools.txt +++ b/docs/topics/testing/tools.txt @@ -670,12 +670,12 @@ to test the effects of commit and rollback: .. warning:: - ``TestCase`` running on a database that does not support rollback (e.g. MySQL with the - MyISAM storage engine), and all instances of ``TransactionTestCase``, will - roll back at the end of the test by deleting all data from the test database - and reloading initial data for apps without migrations. + ``TestCase`` running on a database that does not support rollback (e.g. MySQL + with the MyISAM storage engine), and all instances of ``TransactionTestCase``, + will roll back at the end of the test by deleting all data from the test + database. - Apps with migrations :ref:`will not see their data reloaded <test-case-serialized-rollback>`; + Apps :ref:`will not see their data reloaded <test-case-serialized-rollback>`; if you need this functionality (for example, third-party apps should enable this) you can set ``serialized_rollback = True`` inside the ``TestCase`` body. |
