Commit 22c35d78 authored by Julliana Zarah C. Cruz's avatar Julliana Zarah C. Cruz

Merge branch 'cruz/announcements'

parents 0572e0e0 95c0092b
......@@ -7,7 +7,7 @@ def index(request):
return HttpResponse('This is the Announcement Board!')
def announcements(request):
all_announcements = models.Announcement.objects.order_by("pub_date")
all_announcements = models.Announcement.objects.order_by("-id")
context = {
"all_announcements": all_announcements
}
......
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