diff options
| author | Collin Anderson <cmawebsite@gmail.com> | 2014-10-09 11:46:40 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-12-24 07:18:43 -0500 |
| commit | 5dddd79433ceb88ab67d9851b49a44ce5b8f509c (patch) | |
| tree | abe462b79ba9e8f1b1975d51e39c0385eb05628e /docs/ref | |
| parent | c5c235cd4fcf4f4c3cbef992b1f92c5930bb4223 (diff) | |
Fixed #20349 -- Moved setting_changed signal to django.core.signals.
This removes the need to load django.test when not testing.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/signals.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/ref/signals.txt b/docs/ref/signals.txt index b41b3f63dd..84bb7f570e 100644 --- a/docs/ref/signals.txt +++ b/docs/ref/signals.txt @@ -666,6 +666,13 @@ It's actually sent twice: when the new value is applied ("setup") and when the original value is restored ("teardown"). Use the ``enter`` argument to distinguish between the two. +You can also import this signal from ``django.core.signals`` to avoid importing +from ``django.test`` in non-test situations. + +.. versionchanged:: 1.8 + + The signal was moved to ``django.core.signals`` as described above. + Arguments sent with this signal: ``sender`` |
