Commit 38469afd authored by Jiuvi Anne Hu's avatar Jiuvi Anne Hu

Fixed error in .views

parent 24f3c55b
...@@ -14,8 +14,8 @@ def convert_to_localtime(utctime): ...@@ -14,8 +14,8 @@ def convert_to_localtime(utctime):
def index(request): def index(request):
html_string_1 = '<html lang="en"><head><meta charset="UTF-8"></head>\ html_string_1 = '<html lang="en"><head><meta charset="UTF-8"></head>\
<b><h1>"Widget\'s Announcement Board"</h1></b><br/>\ <b><h1>Widget\'s Announcement Board</h1></b>\
<h2>"Announcements:"</h2><br/>' <h2>Announcements:</h2><br/>'
html_string_2 = "" html_string_2 = ""
for announced in Announcement.objects.all(): for announced in Announcement.objects.all():
......
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