def remove_dj(self, djs): if is_key(djs) or isinstance(djs, Dj): djs = (djs,) self.raw.dj_list = list(set(self.dj_list). difference(as_keys(djs)))
def add_dj(self, djs): if is_key(djs) or isinstance(djs, Dj): djs = (djs,) self.raw.dj_list = list(set(self.dj_list). union(as_keys(djs)))