diff options
| author | Jannis Leidel <jannis@leidel.info> | 2011-06-17 15:39:42 +0000 |
|---|---|---|
| committer | Jannis Leidel <jannis@leidel.info> | 2011-06-17 15:39:42 +0000 |
| commit | 65d8657f7f07de3b3cc6c6d1ddfb836c2658b23f (patch) | |
| tree | 9d02442e521ff2222c1f3373e6ff563e14248f3f /docs/ref | |
| parent | f8a3d87a199a54305a0f50e24a00fa253fa43766 (diff) | |
Fixed #15943 -- Documented `raw` argument of pre_save and post_save signals. Thanks, amplivibe.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16432 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/signals.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/ref/signals.txt b/docs/ref/signals.txt index 67476a072f..4e1f7e2967 100644 --- a/docs/ref/signals.txt +++ b/docs/ref/signals.txt @@ -114,6 +114,12 @@ Arguments sent with this signal: ``instance`` The actual instance being saved. +``raw`` + A boolean; ``True`` if the model is saved exactly as presented + (i.e. when loading a fixture). One should not query/modify other + records in the database as the database might not be in a + consistent state yet. + .. versionadded:: 1.3 ``using`` @@ -139,6 +145,12 @@ Arguments sent with this signal: ``created`` A boolean; ``True`` if a new record was created. +``raw`` + A boolean; ``True`` if the model is saved exactly as presented + (i.e. when loading a fixture). One should not query/modify other + records in the database as the database might not be in a + consistent state yet. + .. versionadded:: 1.3 ``using`` |
