Makes extra content optional
This commit is contained in:
@ -51,7 +51,7 @@ class Announcements(View):
|
||||
form = forms.AnnouncementForm()
|
||||
data = {
|
||||
"announcements": Paginator(
|
||||
models.Announcement.objects, PAGE_LENGTH
|
||||
models.Announcement.objects.all(), PAGE_LENGTH
|
||||
).get_page(request.GET.get("page")),
|
||||
"form": form,
|
||||
}
|
||||
|
Reference in New Issue
Block a user