Commit 1b90ac29 authored by lixiaofang's avatar lixiaofang

add

parent c22b6842
......@@ -72,7 +72,7 @@ class Pictorial(models.Model):
logging.info("get topic_id_list:%s" % topic_id_list)
topic_num = Topic.objects.filter(content_level__in=["4", "5"], create_time__gte=yesterday_begin_time,
create_time__lte=yesterday_end_time, topic_id__in=topic_id_list).count()
create_time__lte=yesterday_end_time, id__in=topic_id_list).count()
logging.info("get topic_num:%s" % topic_num)
......@@ -90,6 +90,7 @@ class Pictorial(models.Model):
for i in tags:
logging.info("get tags i:%s" % i)
tag_id_list.append(i.tag_id)
return tag_id_list
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