mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2024-11-27 01:32:03 +00:00
[svn r8161] randSent is unnecessary and causing problems
This commit is contained in:
parent
f3bd6169ab
commit
03f4046e61
@ -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})
|
Loading…
Reference in New Issue
Block a user