Initial shenanigans on storing my overly fancy EC form

This commit is contained in:
2020-08-24 17:25:25 +01:00
parent da60cad911
commit 8bb08724b6
9 changed files with 183 additions and 110 deletions

View File

@@ -141,3 +141,12 @@ class EventChecklistList(generic.ListView):
paginate_by = 20
model = models.EventChecklist
template_name = 'event_checklist_list.html'
class HSList(generic.ListView):
paginate_by = 20
model = models.Event
template_name = 'hs_list.html'
def get_queryset(self):
return models.Event.objects.all().order_by('-start_date')