Commit 447e9526 authored by Jan Enzo Salvador's avatar Jan Enzo Salvador

Fixed the string concatenation

parent 29a9ea7c
......@@ -9,7 +9,7 @@ def forumIndex(request):
forum_output = "Widget's Forum <br><br> Forum Posts:<br>"
for post in forum:
forum_output = (forum_output + post.title + " by " + post.author.first_name + + post.author.last_name +
forum_output = (forum_output + post.title + " by " + post.author.first_name + post.author.last_name +
" posted " + post.pub_datetime.strftime('%m/%d/%Y, %I:%M %p') + ":<br>" +
post.body + "<br>"
)
......
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