summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2020-04-08 18:06:26 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2021-02-28 12:15:20 +0100
commit9be03de7917bb321119641b9d0063cd060d9b3c1 (patch)
tree47c2df9adb1820c3993f1e50743dafcf86262e15 /ishtar_common/models.py
parentb2bb294b82a968b899a852f4fa64495e9cc2984f (diff)
downloadIshtar-9be03de7917bb321119641b9d0063cd060d9b3c1.tar.bz2
Ishtar-9be03de7917bb321119641b9d0063cd060d9b3c1.zip
New container management - merge action
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index 38e5b2fb4..071b05598 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -4284,8 +4284,8 @@ class Merge(models.Model):
for m in self.merge_exclusion.all():
m.delete()
- def merge(self, item):
- merge_model_objects(self, item)
+ def merge(self, item, keep_old=False):
+ merge_model_objects(self, item, keep_old=keep_old)
self.generate_merge_candidate()