summaryrefslogtreecommitdiff
path: root/docs/ref/models
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref/models')
-rw-r--r--docs/ref/models/instances.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/ref/models/instances.txt b/docs/ref/models/instances.txt
index 07509daa81..e96a775e5f 100644
--- a/docs/ref/models/instances.txt
+++ b/docs/ref/models/instances.txt
@@ -31,10 +31,15 @@ Saving objects
To save an object back to the database, call ``save()``:
-.. method:: Model.save([raw=False])
+.. method:: Model.save([force_insert=False, force_update=False])
Of course, there's some subtleties; see the sections below.
+**New in Django development version:** The signature of the ``save()`` method
+has changed from earlier versions (``force_insert`` and ``force_update`` have
+been added). If you are overriding these methods, be sure to use the correct
+signature.
+
Auto-incrementing primary keys
------------------------------