Commit 65916c36 authored by lixiaofang's avatar lixiaofang

add

parent 1b90ac29
......@@ -89,7 +89,7 @@ class Pictorial(models.Model):
logging.info("get tags:%s" % tags)
for i in tags:
logging.info("get tags i:%s" % i)
tag_id_list.append(i.tag_id)
tag_id_list.append(i)
return tag_id_list
......@@ -105,7 +105,7 @@ class Pictorial(models.Model):
logging.info("get tags name :%s" % tags)
for i in tags:
tag_name_list.append(i.name)
tag_name_list.append(i)
logging.info("get tags name i:%s" % i)
return tag_name_list
......
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