Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #15943 -- Documented `raw` argument of pre_save and post_save s…

…ignals. Thanks, amplivibe.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16432 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 65d8657f7f07de3b3cc6c6d1ddfb836c2658b23f 1 parent f8a3d87
Jannis Leidel authored June 17, 2011

Showing 1 changed file with 12 additions and 0 deletions. Show diff stats Hide diff stats

  1. 12  docs/ref/signals.txt
12  docs/ref/signals.txt
@@ -114,6 +114,12 @@ Arguments sent with this signal:
114 114
 ``instance``
115 115
     The actual instance being saved.
116 116
 
  117
+``raw``
  118
+    A boolean; ``True`` if the model is saved exactly as presented
  119
+    (i.e. when loading a fixture). One should not query/modify other
  120
+    records in the database as the database might not be in a
  121
+    consistent state yet.
  122
+
117 123
 .. versionadded:: 1.3
118 124
 
119 125
 ``using``
@@ -139,6 +145,12 @@ Arguments sent with this signal:
139 145
 ``created``
140 146
     A boolean; ``True`` if a new record was created.
141 147
 
  148
+``raw``
  149
+    A boolean; ``True`` if the model is saved exactly as presented
  150
+    (i.e. when loading a fixture). One should not query/modify other
  151
+    records in the database as the database might not be in a
  152
+    consistent state yet.
  153
+
142 154
 .. versionadded:: 1.3
143 155
 
144 156
 ``using``

0 notes on commit 65d8657

Please sign in to comment.
Something went wrong with that request. Please try again.