Fix people list

Cope with Jimmy McFoo as a name!
Don't set the top expo value in the code whin it is piss easy to calculate
Fix typo from last commit
This commit is contained in:
Sam Wenham
2019-03-09 18:21:10 +00:00
parent 1bac650aee
commit b4296f1736
5 changed files with 11 additions and 6 deletions

View File

@@ -267,4 +267,3 @@ def get_people(request, expeditionslug):
def get_logbook_entries(request, expeditionslug):
exp = Expedition.objects.get(year = expeditionslug)
return render_with_context(request,'options.html', {"items": [(le.slug, "%s - %s" % (le.date, le.title)) for le in exp.logbookentry_set.all()]})