From ba5ed9fd4220164b633d56cd3312b7cfd8abc9dd Mon Sep 17 00:00:00 2001 From: substantialnoninfringinguser Date: Wed, 13 May 2009 05:30:41 +0100 Subject: [svn] randSent is unnecessary and causing problems Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8161 by aaron @ 1/16/2009 2:44 AM --- expo/views_other.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/expo/views_other.py b/expo/views_other.py index 88a8559..6ff1673 100644 --- a/expo/views_other.py +++ b/expo/views_other.py @@ -4,7 +4,7 @@ import troggle.settings as settings from django import forms from django.db.models import Q import re -import randSent +#import randSent (it's not ready yet) def stats(request): statsDict={} @@ -14,6 +14,6 @@ def stats(request): statsDict['logbookEntryCount'] = int(LogbookEntry.objects.count()) return render_to_response('statistics.html', statsDict) -def frontPage(request): +#def frontPage(request): - return render_to_response('index.html', {'randSent':randSent.randomLogbookSentence(),'settings':settings}) \ No newline at end of file +# return render_to_response('index.html', {'randSent':randSent.randomLogbookSentence(),'settings':settings}) \ No newline at end of file -- cgit v1.2.3