Commit a6302158 authored by Jiuvi Anne Hu's avatar Jiuvi Anne Hu

Fixed extra linebreak.

parent 38469afd
...@@ -19,7 +19,7 @@ def index(request): ...@@ -19,7 +19,7 @@ def index(request):
html_string_2 = "" html_string_2 = ""
for announced in Announcement.objects.all(): for announced in Announcement.objects.all():
html_string_2 += "{} by {} {} published {}<br />:\ html_string_2 += "{} by {} {} published {}:\
{}".format(announced.title, announced.author.first_name, {}".format(announced.title, announced.author.first_name,
announced.author.last_name, announced.author.last_name,
convert_to_localtime(announced.pub_datetime), announced.body) convert_to_localtime(announced.pub_datetime), announced.body)
......
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