mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-27 02:12:18 +00:00
FIX: Missing date field breaking archive view
This commit is contained in:
@@ -230,6 +230,7 @@ class EventArchive(generic.ArchiveIndexView):
|
|||||||
model = models.Event
|
model = models.Event
|
||||||
paginate_by = 25
|
paginate_by = 25
|
||||||
template_name = "RIGS/event_archive.html"
|
template_name = "RIGS/event_archive.html"
|
||||||
|
date_field = "start_date"
|
||||||
|
|
||||||
def get_context_data(self, **kwargs):
|
def get_context_data(self, **kwargs):
|
||||||
# get super context
|
# get super context
|
||||||
|
|||||||
Reference in New Issue
Block a user