mirror of
https://github.com/django/django.git
synced 2025-08-23 18:29:12 +00:00
[1.11.x] Added "test --keepdb" to testing speedup docs.
Backport of 254fb8d1a4e0525d890a5363a5c08f00bc873f03 from master
This commit is contained in:
parent
d72f953e5a
commit
60f81118f4
@ -343,3 +343,10 @@ the :setting:`PASSWORD_HASHERS` setting to a faster hashing algorithm::
|
|||||||
|
|
||||||
Don't forget to also include in :setting:`PASSWORD_HASHERS` any hashing
|
Don't forget to also include in :setting:`PASSWORD_HASHERS` any hashing
|
||||||
algorithm used in fixtures, if any.
|
algorithm used in fixtures, if any.
|
||||||
|
|
||||||
|
Preserving the test database
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
The :option:`test --keepdb` option preserves the test database between test
|
||||||
|
runs. It skips the create and destroy actions which can greatly decrease the
|
||||||
|
time to run tests.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user