Commit dcd708a5 authored by Jan Enzo Salvador's avatar Jan Enzo Salvador

Fixed the spacing of the views

parent eb9489bb
...@@ -17,7 +17,9 @@ def forumIndex(request): ...@@ -17,7 +17,9 @@ def forumIndex(request):
if reply.forum_post.title == post.title: if reply.forum_post.title == post.title:
forum_output = (forum_output + "Reply by " + reply.author.first_name + " " + reply.author.last_name forum_output = (forum_output + "Reply by " + reply.author.first_name + " " + reply.author.last_name
+ " posted " + reply.pub_datetime.strftime('%m/%d/%Y, %I:%M %p') + ":<br>" + + " posted " + reply.pub_datetime.strftime('%m/%d/%Y, %I:%M %p') + ":<br>" +
reply.body + "<br><br>" reply.body + "<br>"
) )
forum_output = forum_output + "<br>"
return HttpResponse(forum_output) return HttpResponse(forum_output)
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