def delete(self, mark_for_deletion=True):
    '\n        override delete so that we call delete on each object separately, as delete needs\n        to set some flags etc\n        '
    for p in self:
        p.delete(mark_for_deletion=mark_for_deletion)
override delete so that we call delete on each object separately, as delete needs
to set some flags etc
def delete(self, mark_for_deletion=True):
    '\n        override delete so that we call delete on each object separately, as delete needs\n        to set some flags etc\n        '
    for p in self:
        p.delete(mark_for_deletion=mark_for_deletion)