diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt index ae291627d4..1f59943ade 100644 --- a/docs/topics/testing/tools.txt +++ b/docs/topics/testing/tools.txt @@ -1104,6 +1104,10 @@ The decorator can also be applied to test case classes:: the original ``LoginTestCase`` is still equally affected by the decorator. + Finally, avoid aliasing your settings as module-level constants as + ``override_settings()`` won't work on such values since they are + only evaluated the first time the module is imported. + You can also simulate the absence of a setting by deleting it after settings have been overriden, like this::