Browse files

[1.7.x] Fixed #22254 -- Noted the requirement of calling django.setup…

…() when running

Thanks Peter Landry for the report.

Backport of 26b03f2 from master
  • Loading branch information...
1 parent c73d8c4 commit 305ab00087a29ff400e815187b5568f84d2d8739 @timgraham timgraham committed Apr 28, 2014
Showing with 5 additions and 0 deletions.
  1. +5 −0 docs/topics/testing/advanced.txt
5 docs/topics/testing/advanced.txt
@@ -251,6 +251,11 @@ automatically as part of the setup of ``./ 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

0 comments on commit 305ab00

Please sign in to comment.