Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #22254 -- Noted the requirement of calling django.setup() when …

…running

Thanks Peter Landry for the report.
  • Loading branch information...
commit 26b03f25265227498a2559af807918fe2a1d246f 1 parent d2e732c
@timgraham timgraham authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 docs/topics/testing/advanced.txt
View
5 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
Please sign in to comment.
Something went wrong with that request. Please try again.