new contest ui (#80)

This commit is contained in:
Võ Trung Hoàng Hưng 2023-09-08 23:22:57 +07:00 committed by GitHub
parent 6c64e42322
commit 3542d6ba64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 269 additions and 240 deletions

View file

@ -134,7 +134,7 @@ class ContestList(
QueryStringSortMixin, DiggPaginatorMixin, TitleMixin, ContestListMixin, ListView
):
model = Contest
paginate_by = 20
paginate_by = 10
template_name = "contest/list.html"
title = gettext_lazy("Contests")
context_object_name = "past_contests"