FIX: Missing date field breaking archive view

This commit is contained in:
2020-02-04 15:24:03 +00:00
parent a920b207c1
commit 94184a33c4

View File

@@ -230,6 +230,7 @@ class EventArchive(generic.ArchiveIndexView):
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