Ticket #15943: pre-post-save-raw-flag-doc.diff

File pre-post-save-raw-flag-doc.diff, 893 bytes (added by Jack Ha, 13 years ago)

Adding documentation for "raw" flag.

  • docs/ref/signals.txt

     
    114114``instance``
    115115    The actual instance being saved.
    116116
     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
    117123.. versionadded:: 1.3
    118124
    119125``using``
     
    139145``created``
    140146    A boolean; ``True`` if a new record was created.
    141147
     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
    142154.. versionadded:: 1.3
    143155
    144156``using``
Back to Top