From 82a35878a2a6e5ff5ec32ce9927f1ab02edd1873 Mon Sep 17 00:00:00 2001 From: substantialnoninfringinguser Date: Wed, 13 May 2009 06:06:11 +0100 Subject: [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 --- expo/views_other.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/expo/views_other.py b/expo/views_other.py index d890a6e..9852ccc 100644 --- a/expo/views_other.py +++ b/expo/views_other.py @@ -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'] -- cgit v1.2.3