summaryrefslogtreecommitdiff
path: root/docs/topics/testing/advanced.txt
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-06-09 12:09:16 -0400
committerTim Graham <timograham@gmail.com>2014-06-09 12:16:04 -0400
commit417da8a78277a14bd2348aec12d79b43f3dac6ee (patch)
tree22ded60448c77467c903e3fcb499dea6c9fedc50 /docs/topics/testing/advanced.txt
parent0a515b02fcfa937e2a148148ca7be3e291e31d2e (diff)
[1.7.x] Doc edits for refs #22487.
Backport of c17cd151d8 from master
Diffstat (limited to 'docs/topics/testing/advanced.txt')
-rw-r--r--docs/topics/testing/advanced.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/topics/testing/advanced.txt b/docs/topics/testing/advanced.txt
index 5a991598d0..ae0e78ce8e 100644
--- a/docs/topics/testing/advanced.txt
+++ b/docs/topics/testing/advanced.txt
@@ -504,12 +504,11 @@ can be useful during testing.
* If autoclobber is ``True``, the database will be destroyed
without consulting the user.
-
``serialize`` determines if Django serializes the database into an
in-memory JSON string before running tests (used to restore the database
state between tests if you don't have transactions). You can set this to
False to significantly speed up creation time if you know you don't need
- data persistance outside of test fixtures.
+ data persistence outside of test fixtures.
Returns the name of the test database that it created.
@@ -517,6 +516,10 @@ can be useful during testing.
:setting:`NAME` in :setting:`DATABASES` to match the name of the test
database.
+ .. versionchanged:: 1.7
+
+ The ``serialize`` argument was added.
+
.. function:: destroy_test_db(old_database_name, [verbosity=1])
Destroys the database whose name is the value of :setting:`NAME` in