2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-14 05:55:06 +00:00

removing cruft, renaming badly named things

This commit is contained in:
Philip Sargent
2021-04-30 21:32:53 +01:00
parent 8f1d6e2cc2
commit be0148d146
17 changed files with 17 additions and 237 deletions

View File

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