Skip to content

Commit

Permalink
Fixed #15943 -- Documented raw argument of pre_save and post_save s…
Browse files Browse the repository at this point in the history
…ignals. Thanks, amplivibe.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16432 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
jezdez committed Jun 17, 2011
1 parent f8a3d87 commit 65d8657
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/ref/signals.txt
Expand Up @@ -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``
Expand All @@ -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``
Expand Down

0 comments on commit 65d8657

Please sign in to comment.