Commit dc7d3c9c authored by lixiaofang's avatar lixiaofang

add

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