From 9dc4ba875f21d5690f6ad5995123a67a3c44bafe Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Mon, 11 Aug 2008 12:11:25 +0000 Subject: Fixed #5461 -- Refactored the database backend code to use classes for the creation and introspection modules. Introduces a new validation module for DB-specific validation. This is a backwards incompatible change; see the wiki for details. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8296 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/testing.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/testing.txt b/docs/testing.txt index c9b23c2948..85f36518a3 100644 --- a/docs/testing.txt +++ b/docs/testing.txt @@ -1026,6 +1026,9 @@ a number of utility methods in the ``django.test.utils`` module. black magic hooks into the template system and restoring normal e-mail services. +The creation module of the database backend (``connection.creation``) also +provides some utilities that can be useful during testing. + ``create_test_db(verbosity=1, autoclobber=False)`` Creates a new test database and runs ``syncdb`` against it. @@ -1044,7 +1047,7 @@ a number of utility methods in the ``django.test.utils`` module. ``create_test_db()`` has the side effect of modifying ``settings.DATABASE_NAME`` to match the name of the test database. - New in the Django development version, this function returns the name of + **New in Django development version:** This function returns the name of the test database that it created. ``destroy_test_db(old_database_name, verbosity=1)`` -- cgit v1.3