Commit 48751f69 authored by Mary Adelaide A. Salto's avatar Mary Adelaide A. Salto
parents 007de444 ccb43ba0
No preview for this file type
......@@ -12,7 +12,7 @@ def index(request):
post.pub_datetime.strftime('%m/%d/%Y, %H:%M %p'), post.body
)
for reply in Reply.objects.all():
if reply.forum_post==post.title:
if reply.forum_post.title==post.title:
page_content += 'Reply by {} {} posted {}:<br>{}<br>'.format(
reply.author.first_name, reply.author.last_name,
reply.pub_datetime.strftime('%m/%d/%Y, %H:%M %p'),
......
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