Commit d2326216 authored by Titia de Castro's avatar Titia de Castro

fixed announcements typo in announcement view

parent 3006f89c
...@@ -6,7 +6,7 @@ from .models import Announcement ...@@ -6,7 +6,7 @@ from .models import Announcement
# Create your views here. # Create your views here.
def index(request): def index(request):
formatted_announcements = "ANNOUCNEMENTS:<br>" formatted_announcements = "ANNOUNCEMENTS:<br>"
for announcement in Announcement.objects.all(): for announcement in Announcement.objects.all():
formatted_announcements += announcement.getAnnouncement() + "<br>" formatted_announcements += announcement.getAnnouncement() + "<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