[svn r8161] randSent is unnecessary and causing problems

This commit is contained in:
aaron 2009-01-16 03:44:39 +01:00
parent f3bd6169ab
commit 03f4046e61

View File

@ -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})