merge expeditions and statistics pages

This commit is contained in:
Philip Sargent
2021-03-27 20:05:15 +00:00
parent ffaaea497c
commit c7475cda83
6 changed files with 14 additions and 24 deletions

View File

@@ -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):