[svn r8302] Revert part of my revert of Julian's revert! This was a harmless change.

This commit is contained in:
aaron 2009-03-14 22:47:58 +01:00
parent 8d7df20718
commit 6c00de179d

View File

@ -29,7 +29,8 @@ def frontpage(request):
#'randSent':randSent.randomLogbookSentence(),
expeditions = Expedition.objects.order_by("-year")
return render_response(request,'index.html', {'expeditions':expeditions, 'all':'all', "message":message})
totallogbookentries = LogbookEntry.objects.count()
return render_response(request,'index.html', {'expeditions':expeditions, 'all':'all', 'totallogbookentries':totallogbookentries, "message":message})
def calendar(request,year):
week=['S','S','M','T','W','T','F']