mirror of
https://github.com/django/django.git
synced 2025-08-10 11:59:13 +00:00
Fixed #22254 -- Noted the requirement of calling django.setup() when running
Thanks Peter Landry for the report.
This commit is contained in:
parent
d2e732cde3
commit
26b03f2526
@ -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
|
need to manually invoke this method if you're not using running your
|
||||||
tests via Django's test runner.
|
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:
|
.. _other-testing-frameworks:
|
||||||
|
|
||||||
Using different testing frameworks
|
Using different testing frameworks
|
||||||
|
Loading…
x
Reference in New Issue
Block a user