Commit 3281cdb1 authored by lixiaofang's avatar lixiaofang

add

parent 564792fe
...@@ -48,7 +48,7 @@ class AgileTagType(BaseModel): ...@@ -48,7 +48,7 @@ class AgileTagType(BaseModel):
@property @property
def get_by_id_name(self): def get_by_id_name(self):
try: try:
results = AgileTag.objects.filter(id=self.agile_tag_id).values_list("name",flat=True).first() results = AgileTag.objects.filter(id=self.agile_tag_id).values_list()
return results return results
except: except:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment