diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2021-04-30 21:32:53 +0100 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2021-04-30 21:32:53 +0100 |
commit | be0148d146263140961e3e47dccd54bc28827e0a (patch) | |
tree | f8b0cff33f2ca300d0fbf0d3125d816b379e0686 /core/views/logbooks.py | |
parent | 8f1d6e2cc22563bd4fca94f5e7e08085154e8262 (diff) | |
download | troggle-be0148d146263140961e3e47dccd54bc28827e0a.tar.gz troggle-be0148d146263140961e3e47dccd54bc28827e0a.tar.bz2 troggle-be0148d146263140961e3e47dccd54bc28827e0a.zip |
removing cruft, renaming badly named things
Diffstat (limited to 'core/views/logbooks.py')
-rw-r--r-- | core/views/logbooks.py | 4 |
1 files changed, 2 insertions, 2 deletions
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): |