resolved issues with formatting

parent 43c4e584
......@@ -12,7 +12,7 @@ def index(request):
replies = Reply.objects.all()
for post in posts:
forum_view += "<br> {} by [First name Last Name] dated {}: <br> {}".\
forum_view += "<br> {} by {} {} dated {}: <br> {}".\
format(
post.post_title,
post.author.first_name,
......@@ -22,7 +22,7 @@ def index(request):
)
for reply in replies:
forum_view += '<br> Reply by [First name Last name] dated {}: <br> {}'.\
forum_view += '<br> Reply by {} {} dated {}: <br> {}'.\
format(
reply.author.first_name,
reply.author.last_name,
......
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