diff options
| author | Claude Paroz <claude@2xlibre.net> | 2014-04-12 15:31:37 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2014-04-12 15:33:22 +0200 |
| commit | 3417ba03094b644f01597d6b5a43ccbc71a55378 (patch) | |
| tree | 43f8768d735275cfad6337dfedf522d8d96699ca /docs | |
| parent | 3e3a7372f58e005813dd1b9e61eb85a5e43c7173 (diff) | |
Also allowed a non-overridden setting to be deleted
Refs #20032, #18824. Thanks ztorstri at gmail.com for the report.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/testing/tools.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt index c2a8c08f19..7bd37c63d6 100644 --- a/docs/topics/testing/tools.txt +++ b/docs/topics/testing/tools.txt @@ -1193,6 +1193,11 @@ have been overridden, like this:: del settings.LOGIN_URL ... +.. versionchanged:: 1.7 + + Previously, you could only simulate the deletion of a setting which was + explicitely overridden. + When overriding settings, make sure to handle the cases in which your app's code uses a cache or similar feature that retains state even if the setting is changed. Django provides the :data:`django.test.signals.setting_changed` |
