summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-04-28 12:43:33 -0400
committerTim Graham <timograham@gmail.com>2014-04-28 12:43:50 -0400
commit305ab00087a29ff400e815187b5568f84d2d8739 (patch)
tree5350dbfab51461f79cbb92daeb1cc2da36bbd23d
parentc73d8c41e41b7407e6a2f4f55337fc3778dc839f (diff)
[1.7.x] Fixed #22254 -- Noted the requirement of calling django.setup() when running
Thanks Peter Landry for the report. Backport of 26b03f2526 from master
-rw-r--r--docs/topics/testing/advanced.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/topics/testing/advanced.txt b/docs/topics/testing/advanced.txt
index 9e32120be7..71d6ca4a41 100644
--- a/docs/topics/testing/advanced.txt
+++ b/docs/topics/testing/advanced.txt
@@ -251,6 +251,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