diff options
| author | Tim Graham <timograham@gmail.com> | 2014-04-28 12:43:33 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-04-28 12:43:33 -0400 |
| commit | 26b03f25265227498a2559af807918fe2a1d246f (patch) | |
| tree | 333a8ba9f09cb5ea0cf4ed9082fcf8e8a89b2ab2 | |
| parent | d2e732cde3de85e05bc979b2214f876bf5366434 (diff) | |
Fixed #22254 -- Noted the requirement of calling django.setup() when running
Thanks Peter Landry for the report.
| -rw-r--r-- | docs/topics/testing/advanced.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/topics/testing/advanced.txt b/docs/topics/testing/advanced.txt index 40636f3460..3439686210 100644 --- a/docs/topics/testing/advanced.txt +++ b/docs/topics/testing/advanced.txt @@ -249,6 +249,11 @@ automatically as part of the setup of ``./manage.py test``. You only need to manually invoke this method if you're not using running your tests via Django's test runner. +.. versionchanged:: 1.7 + +If you are not using a management command to invoke the tests, you will also +need to first setup Django itself using :func:`django.setup()`. + .. _other-testing-frameworks: Using different testing frameworks |
