From e153afb99cff1b6c7df4ff340a88af124f207d02 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Mon, 6 Sep 2021 14:34:20 -0400 Subject: [PATCH] Update README.md --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 41433313..a38e26fe 100644 --- a/README.md +++ b/README.md @@ -158,6 +158,17 @@ Out[7]: 2 In [8]: test_obj_clone.title Out[8]: 'New copy 1' +In [9]: test_obj_clone.tags.all() +Out[9]: , ]> + +In [6]: test_obj_clone = test_obj.make_clone(attrs={'title': 'Updated title'}) + +In [7]: test_obj_clone.pk +Out[7]: 3 + +In [8]: test_obj_clone.title +Out[8]: 'Updated title' + In [9]: test_obj_clone.tags.all() Out[9]: , ]> ```