summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-13 06:06:11 +0100
committersubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-13 06:06:11 +0100
commit82a35878a2a6e5ff5ec32ce9927f1ab02edd1873 (patch)
tree618fc1edd51091a864697a57a74648aa24c220bf
parent5654e7c3b360181b8450fa3805ecc51ddba09436 (diff)
downloadtroggle-82a35878a2a6e5ff5ec32ce9927f1ab02edd1873.tar.gz
troggle-82a35878a2a6e5ff5ec32ce9927f1ab02edd1873.tar.bz2
troggle-82a35878a2a6e5ff5ec32ce9927f1ab02edd1873.zip
[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
-rw-r--r--expo/views_other.py3
1 files changed, 2 insertions, 1 deletions
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']