summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/topics/testing/tools.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt
index 8aca04aaba..334c34e7dc 100644
--- a/docs/topics/testing/tools.txt
+++ b/docs/topics/testing/tools.txt
@@ -1034,6 +1034,12 @@ If ``multi_db=True``, fixtures are loaded into all databases.
Overriding settings
~~~~~~~~~~~~~~~~~~~
+.. warning::
+
+ Use the functions below to temporarily alter the value of settings in tests.
+ Don't manipulate ``django.conf.settings`` directly as Django won't restore
+ the original values after such manipulations.
+
.. method:: SimpleTestCase.settings()
For testing purposes it's often useful to change a setting temporarily and