FIX: Stop 404 on failed search, again

This commit is contained in:
2020-02-04 17:07:47 +00:00
parent 724d09734b
commit a3e0f3ed03

View File

@@ -226,11 +226,10 @@ class EventPrint(generic.View):
return response
class EventArchive(generic.ArchiveIndexView):
class EventArchive(generic.ListView):
model = models.Event
paginate_by = 25
template_name = "RIGS/event_archive.html"
date_field = "start_date"
def get_context_data(self, **kwargs):
# get super context