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

Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8302 by aaron @ 3/14/2009 9:47 PM
This commit is contained in:
substantialnoninfringinguser
2009-05-13 06:06:11 +01:00
parent 5654e7c3b3
commit 82a35878a2

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']