Makes extra content optional
This commit is contained in:
parent
952eceb243
commit
cefc5994a6
5 changed files with 81 additions and 6 deletions
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue