summaryrefslogtreecommitdiffstats
path: root/expo/views_other.py
diff options
context:
space:
mode:
authorsubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-13 06:08:04 +0100
committersubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-13 06:08:04 +0100
commit157f11b65900f7f36c7d9a060c8162c4250d584a (patch)
treefa271a36876e30341e2708707e05211f11b46631 /expo/views_other.py
parent256de6e083926d526b419e4c698465b9bb2d7e21 (diff)
downloadtroggle-157f11b65900f7f36c7d9a060c8162c4250d584a.tar.gz
troggle-157f11b65900f7f36c7d9a060c8162c4250d584a.tar.bz2
troggle-157f11b65900f7f36c7d9a060c8162c4250d584a.zip
[svn] Added QM wiki markup. The format is [[cave:204 QM:2005-04A]] with the grade (A) being optional. The links color red if the QM does not exist, and in that case clicking on them goes to an admin add page with fields prepopulated.
Various other little things, e.g. filled in the footer with links. Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8305 by aaron @ 3/16/2009 8:53 AM
Diffstat (limited to 'expo/views_other.py')
-rw-r--r--expo/views_other.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/expo/views_other.py b/expo/views_other.py
index 9852ccc..f83c6e2 100644
--- a/expo/views_other.py
+++ b/expo/views_other.py
@@ -6,10 +6,14 @@ from troggle.parsers.people import LoadPersonsExpos
import re
from troggle.parsers.survex import LoadAllSurvexBlocks
import randSent
+from django.http import HttpResponse
from django.core.urlresolvers import reverse
from troggle.alwaysUseRequestContext import render_response # see views_logbooks for explanation on this.
+def showrequest(request):
+ return HttpResponse(request.GET)
+
def stats(request):
statsDict={}
statsDict['expoCount'] = int(Expedition.objects.count())