Commit def551e5 authored by lixiaofang's avatar lixiaofang

ad

parent ebf6f3bf
......@@ -48,7 +48,8 @@ class AgileTagType(BaseModel):
@property
def get_by_id_name(self):
try:
results = AgileTag.objects.filter(id=self.agile_tag_id).values_list()
logging.info("get self.id:%s"%self.agile_tag_id)
results = AgileTag.objects.filter(id=self.agile_tag_id).values()
return results
except:
......
......@@ -20,6 +20,7 @@ class TagTransfer(object):
@classmethod
def get_tag_suggest_data_list(cls, instance):
try:
ret_list = list()
item_dict = dict()
results = instance.get_by_id_name
......
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