From be0148d146263140961e3e47dccd54bc28827e0a Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Fri, 30 Apr 2021 21:32:53 +0100 Subject: removing cruft, renaming badly named things --- core/views/logbooks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/views/logbooks.py') diff --git a/core/views/logbooks.py b/core/views/logbooks.py index 3181a33..2ec6991 100644 --- a/core/views/logbooks.py +++ b/core/views/logbooks.py @@ -31,7 +31,7 @@ It uses the global object TROG to hold some cached pages. todo = '''Fix the get_person_chronology() display bug. ''' -def personindex(request): +def notablepersons(request): persons = Person.objects.all() # From what I can tell, "persons" seems to be the table rows, while "pcols" is the table columns. - AC 16 Feb 09 pcols = [ ] @@ -45,7 +45,7 @@ def personindex(request): if person.bisnotable(): notablepersons.append(person) - return render(request,'personindex.html', {'persons': persons, 'pcols':pcols, 'notablepersons':notablepersons}) + return render(request,'notablepersons.html', {'persons': persons, 'pcols':pcols, 'notablepersons':notablepersons}) def expedition(request, expeditionname): -- cgit v1.2.3