How to access short_description of a property in Django

前端 未结 0 727
南方客
南方客 2021-02-07 13:20

If I have a Django model with a property defined as

def __task_state(self):
    if self.task_id is None:
        return None
    else:
        return # Calculate          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题