Commit dc7d3c9c authored by lixiaofang's avatar lixiaofang

add

parent 83eaee49
......@@ -49,7 +49,7 @@ class AgileTagType(BaseModel):
def get_by_id_name(self):
try:
logging.info("get self.id:%s" % self.agile_tag_id)
results = AgileTag.objects.filter(id=30).values().first()
results = AgileTag.objects.filter(id=self.agile_tag_id).values().first()
if results:
return results
else:
......
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