Generic list template

This commit is contained in:
2020-03-15 18:24:38 +00:00
parent 4c34e4e43e
commit 3814f5abfc
16 changed files with 217 additions and 344 deletions

View File

@@ -228,9 +228,9 @@ class EventPrint(generic.View):
class EventArchive(generic.ListView):
template_name = "event_archive.html"
model = models.Event
paginate_by = 25
template_name = "event_archive.html"
def get_context_data(self, **kwargs):
# get super context