mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
[1.8.x] Fixed #25159 -- Removed brackets from class/function/method signatures in docs.
Thanks hellbeast for the initial patch.
Backport of 87d55081ea from master
This commit is contained in:
@@ -574,7 +574,7 @@ django.db.connection.creation
|
||||
The creation module of the database backend also provides some utilities that
|
||||
can be useful during testing.
|
||||
|
||||
.. function:: create_test_db([verbosity=1, autoclobber=False, serialize=True, keepdb=False])
|
||||
.. function:: create_test_db(verbosity=1, autoclobber=False, serialize=True, keepdb=False)
|
||||
|
||||
Creates a new test database and runs ``migrate`` against it.
|
||||
|
||||
@@ -622,7 +622,7 @@ can be useful during testing.
|
||||
|
||||
The ``keepdb`` argument was added.
|
||||
|
||||
.. function:: destroy_test_db(old_database_name, [verbosity=1, keepdb=False])
|
||||
.. function:: destroy_test_db(old_database_name, verbosity=1, keepdb=False)
|
||||
|
||||
Destroys the database whose name is the value of :setting:`NAME` in
|
||||
:setting:`DATABASES`, and sets :setting:`NAME` to the value of
|
||||
|
||||
Reference in New Issue
Block a user