mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
FIX: Stop 404 on failed search, again
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user