def get_control_model(self): cm = self.player.get_control_model() for attribute in self.attributes.all(): cm.update(attribute.get_control_model()) control_model.send(sender=type(self), instance=self, cm=cm) return cm
def get_control_model(self): cm = self.race.get_control_model() cm.update(self.concentration_model.get_control_model()) control_model.send(sender=type(self), instance=self, cm=cm) return cm