[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
This commit is contained in:
substantialnoninfringinguser 2009-05-13 05:30:41 +01:00
parent 7a9dc007be
commit ba5ed9fd42

@ -4,7 +4,7 @@ import troggle.settings as settings
from django import forms from django import forms
from django.db.models import Q from django.db.models import Q
import re import re
import randSent #import randSent (it's not ready yet)
def stats(request): def stats(request):
statsDict={} statsDict={}
@ -14,6 +14,6 @@ def stats(request):
statsDict['logbookEntryCount'] = int(LogbookEntry.objects.count()) statsDict['logbookEntryCount'] = int(LogbookEntry.objects.count())
return render_to_response('statistics.html', statsDict) return render_to_response('statistics.html', statsDict)
def frontPage(request): #def frontPage(request):
return render_to_response('index.html', {'randSent':randSent.randomLogbookSentence(),'settings':settings}) # return render_to_response('index.html', {'randSent':randSent.randomLogbookSentence(),'settings':settings})