Show More
@@ -152,8 +152,11 b' def api_get_threads(request, count):' | |||
|
152 | 152 | opening_post = thread.get_opening_post() |
|
153 | 153 | |
|
154 | 154 | # TODO Add tags, replies and images count |
|
155 |
|
|
|
156 | include_last_update=True)) | |
|
155 | post_data = get_post_data(opening_post.id, include_last_update=True) | |
|
156 | post_data['bumpable'] = thread.can_bump() | |
|
157 | post_data['archived'] = thread.archived | |
|
158 | ||
|
159 | opening_posts.append(post_data) | |
|
157 | 160 | |
|
158 | 161 | return HttpResponse(content=json.dumps(opening_posts)) |
|
159 | 162 |
General Comments 0
You need to be logged in to leave comments.
Login now