def __str__(self): return MODEL_OBJECT_DISPLAY.format('PushTask', self.id)
def __str__(self): name = self.name if self.name else '' return MODEL_OBJECT_DISPLAY.format(self.id, name)
def __str__(self): return MODEL_OBJECT_DISPLAY.format(self.id, self.name)
def __str__(self): return MODEL_OBJECT_DISPLAY.format(u'Control', self.id)