Commit 78bacc73 authored by lixiaofang's avatar lixiaofang

add

parent 8ed62dad
......@@ -271,7 +271,7 @@ class Pictorial(models.Model):
PictorialTopics.objects.filter(pictorial_id=self.id, is_online=True, is_deleted=False).values_list(
"topic_id", flat=True))
topic_info = Topic.objects.filter(id__in=topic_id_list,is_online=1).values("user_id", "create_time")
topic_info = Topic.objects.filter(id__in=topic_id_list, is_online=1).values("user_id", "create_time")
if topic_info.count() > 0:
for topic in topic_info:
......
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