From c1ebdbdda25028e840ab3a955fe71458b03a444e Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sat, 28 Jan 2012 17:09:27 -0500 Subject: [PATCH] fix a usage issue here --- examples/custom_attributes/custom_management.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/custom_attributes/custom_management.py b/examples/custom_attributes/custom_management.py index 644d512cf7..50b65a37ee 100644 --- a/examples/custom_attributes/custom_management.py +++ b/examples/custom_attributes/custom_management.py @@ -103,6 +103,9 @@ class MyCollectionAdapter(object): def append_with_event(self, item, initiator=None): self.collection.add(item, emit=initiator) + def append_multiple_without_event(self, items): + self.collection.members.extend(items) + def append_without_event(self, item): self.collection.add(item, emit=False) -- 2.47.2