diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2008-08-11 12:11:25 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2008-08-11 12:11:25 +0000 |
| commit | 9dc4ba875f21d5690f6ad5995123a67a3c44bafe (patch) | |
| tree | 621f876758ac16dceee95faf51973d4b05f1c830 /docs | |
| parent | cec69eb70d1e2f84dc5a7fb172da88a79b0f5063 (diff) | |
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
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/testing.txt | 5 |
1 files changed, 4 insertions, 1 deletions
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)`` |
