Skip to content

Commit d3b2302

Browse files
committed
Minor docs update. Refs #2375.
1 parent 26ac265 commit d3b2302

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/topics/3.0-announcement.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,12 @@ The resulting API changes are further detailed below.
8787

8888
#### The `.create()` and `.update()` methods.
8989

90-
The `.restore_object()` method is now replaced with two separate methods, `.create()` and `.update()`.
91-
92-
These methods also replace the optional `.save_object()` method, which no longer exists.
90+
The `.restore_object()` method is now removed, and we instead have two separate methods, `.create()` and `.update()`. These methods work slightly different to the previous `.restore_object()`.
9391

9492
When using the `.create()` and `.update()` methods you should both create *and save* the object instance. This is in contrast to the previous `.restore_object()` behavior that would instantiate the object but not save it.
9593

94+
These methods also replace the optional `.save_object()` method, which no longer exists.
95+
9696
The following example from the tutorial previously used `restore_object()` to handle both creating and updating object instances.
9797

9898
def restore_object(self, attrs, instance=None):

0 commit comments

Comments
 (0)