From c7475cda83a922d3736db2cca5706c1d86719313 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Sat, 27 Mar 2021 20:05:15 +0000 Subject: merge expeditions and statistics pages --- core/views_logbooks.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'core/views_logbooks.py') diff --git a/core/views_logbooks.py b/core/views_logbooks.py index c3cea1e..dcc26f8 100644 --- a/core/views_logbooks.py +++ b/core/views_logbooks.py @@ -84,9 +84,10 @@ def expedition(request, expeditionname): def get_absolute_url(self): return ('expedition', (expedition.year)) -class ExpeditionListView(ListView): # django thus expects a template called "expedition_list.html" -# from the name of the object not the name of the class. - model = Expedition +# replaced by statistics page +# class ExpeditionListView(ListView): # django thus expects a template called "expedition_list.html" +# # from the name of the object not the name of the class. + # model = Expedition class Expeditions_tsvListView(ListView): -- cgit v1.2.3